|
PHP-Nuke SQL Filter Bypass and SQL Injection Vulnerabilities
|
|
|
|
|
Secunia Advisory:
|
SA24949
|
|
|
Release Date:
|
2007-04-20
|
|
|
Critical:
|

Moderately critical
|
|
Impact:
|
Security Bypass Manipulation of data Exposure of sensitive information
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | PHP-Nuke 7.x
|
|
|
This advisory is currently marked as unpatched! - Companies can be alerted when a patch is released! |
|
|
Description: Aleksandar has discovered some vulnerabilities in PHP-Nuke, which can be exploited by malicious people to conduct SQL injection attacks and to bypass certain security restrictions.
1) The product's SQL injection filter checks for the string "/*" but not for the URL-encoded version "%2f%2a". This can be exploited to bypass the SQL injection filter.
2) Input passed to the "lid" parameter through modules.php to modules/Web_Links/index.php (when "l_op" is set to "viewlinkcomments", "viewlinkeditorial", or "ratelink") 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 password hashes, but requires that "magic_quotes_gpc" is disabled, and that the attacker has knowledge of the database table prefix.
3) Input passed to the "lid" parameter through modules.php to modules/Downloads/index.php (when "d_op" is set to "viewdownloadeditorial", "viewdownloadcomments", or to "ratedownload") 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 password hashes, but requires that "magic_quotes_gpc" is disabled, and that the attacker has knowledge of the database table prefix.
The vulnerabilities are confirmed in version 7.9. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised and that the SQL injection filter checks for both normal and URL-encoded versions of dangerous strings.
Set "magic_quotes_gpc" in php.ini to On.
Use another product.
Provided and/or discovered by: Aleksandar
|
|
|
|
|
Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.
Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.
|
|
|
|
35 Related Secunia Security Advisories, displaying 10
|
|
|
1. PHP-Nuke Anti-Cross-Site Request Forgery Routine Bypass Vulnerability
|
|
2. PHP-Nuke "lang" Local File Inclusion Vulnerability
|
|
3. PHP-Nuke HTTP "referer" SQL Injection Vulnerability
|
|
4. PHP-Nuke "cat" Old Articles Block SQL Injection
|
|
5. PHP-Nuke "modules/News/index.php" SQL Injection Vulnerabilities
|
|
6. PHP-Nuke "forwhat" SQL Injection Vulnerability
|
|
7. PHP-Nuke "eid" SQL Injection Vulnerability
|
|
8. PHP-Nuke Personal Menu Script Insertion and SQL Injection
|
|
9. PHP-Nuke CAPTCHA Bypass Weakness
|
|
10. PHP-Nuke "Your_Account" Module SQL Injection Vulnerability
|
Show all related advisories
|
|
|
Send Feedback to Secunia
|
|
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.
|
|
|
|