Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Mailing Lists RSS Blog New entry Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)
  - NEW -

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


PHP-Nuke SQL Filter Bypass and SQL Injection Vulnerabilities Advisory Available in Danish  Advisory Available in German 

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.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
Debian OpenSSL Predictable Random Number Generator and Update
2.
Microsoft Malware Protection Engine File Parsing Denial of Service
3.
Ubuntu update for openssl
4.
Microsoft Windows XP I2O Utility Filter Driver Privilege Escalation
5.
Build A Niche Store "q" Cross-Site Scripting
6.
ZyXEL ZyWALL 100 "Referer" Cross-Site Scripting Vulnerability
7.
Microsoft Word Two Code Execution Vulnerabilities
8.
Novell Client Login Long Username/Contex t Buffer Overflow
9.
cPanel Cross-Site Scripting and Request Forgery Vulnerabilities
10.
Microsoft Publisher Object Handler Validation Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia