Secunia Security Advisory - DarkFig has reported a vulnerability in MyBB, which can be exploited by malicious people to conduct SQL injection attacks and compromise a vulnerable system.
2e9224232020aa08ac2e4f48dada4c13b25b81f022f615d133f53bed40709821
----------------------------------------------------------------------
Secunia customers receive relevant and filtered advisories.
Delivery is done via different channels including SMS, Email, Web,
and https based XML feed.
http://corporate.secunia.com/trial/38/request/
----------------------------------------------------------------------
TITLE:
MyBB "Client-IP" SQL Injection and Code Execution
SECUNIA ADVISORY ID:
SA24689
VERIFY ADVISORY:
http://secunia.com/advisories/24689/
CRITICAL:
Highly critical
IMPACT:
Manipulation of data, Exposure of sensitive information, System
access
WHERE:
>From remote
SOFTWARE:
MyBB (formerly MyBulletinBoard) 1.x
http://secunia.com/product/4479/
DESCRIPTION:
DarkFig has reported a vulnerability in MyBB, which can be exploited
by malicious people to conduct SQL injection attacks and compromise a
vulnerable system.
Input passed in the "Client-IP" HTTP header to index.php is not
properly sanitised before being used in SQL queries. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation allows e.g. retrieving administrator IP
addresses and SIDs, which can be used to log in as administrator and
upload PHP files, which can then be exploited to execute arbitrary
code.
The vulnerability is related to:
SA21070
The vulnerability is reported in all 1.2.x versions prior to 1.2.4.
Other versions may also be affected.
SOLUTION:
Update to version 1.2.4.
Use another product.
PROVIDED AND/OR DISCOVERED BY:
DarkFig
ORIGINAL ADVISORY:
MyBB:
http://community.mybboard.net/showthread.php?tid=18002
DarkFig:
http://milw0rm.com/exploits/3653
OTHER REFERENCES:
SA21070:
http://secunia.com/advisories/21070
----------------------------------------------------------------------
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.
----------------------------------------------------------------------