TITLE:
MyBB Disclosure of Table Prefix Weakness

SECUNIA ADVISORY ID:
SA18577

VERIFY ADVISORY:
http://secunia.com/advisories/18577/

CRITICAL:
Not critical

IMPACT:
Exposure of system information

WHERE:
>From remote

SOFTWARE:
MyBB (formerly MyBulletinBoard) 1.x
http://secunia.com/product/4479/

DESCRIPTION:
imei has discovered a weakness in MyBB, which can be exploited by
malicious people to disclose system information.

The problem is that SQL error messages are returned to the user. This
can be exploited to disclose the configured table prefix via a
specially crafted search request.

Example:
http://[victim]/search.php?s=de1aaf9b&action=do_search&keywords=a&srchtype=3

The weakness has been confirmed in version 1.0.2. Other versions may
also be affected.

SOLUTION:
Edit the source code to ensure that SQL error messages are not
returned to users.

PROVIDED AND/OR DISCOVERED BY:
imei

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/


Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories
http://secunia.com/sec_adv_unsubscribe/?email=packet%40packetstormsecurity.org

----------------------------------------------------------------------