|
PHP-Nuke SQL Injection and Cross-Site Scripting
|
|
Secunia Advisory:
|
SA28624
|
|
|
Release Date:
|
2008-01-23
|
|
Last Update:
|
2008-06-25
|
|
Popularity:
|
5,422 views
|
|
|
Critical:
|
 Moderately critical
|
|
Impact:
|
Manipulation of data Exposure of sensitive information Cross Site Scripting
|
|
Where:
|
From remote
|
|
Solution Status:
|
Unpatched
|
|
| Software: | PHP-Nuke 8.x
|
|
|
Subscribe:
|
Instant alerts on relevant vulnerabilities
|
|
| CVE reference: | CVE-2008-0461
|
|
Description: Some vulnerabilities have been discovered in PHP-Nuke, which can be exploited by malicious people to conduct SQL injection and cross-site scripting attacks.
1) Input passed to the "sid" parameter through modules.php to modules/Search/index.php (when "type" is set to "comments") 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 the administrator password hash, but requires that "magic_quotes_gpc" is disabled - not the value recommended by the installer - and having knowledge of the database table prefix.
2) Input passed to the "gfx_check" and "random_number" parameter in modules.php (when "name" is set to "Your_Account") is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of an affected site.
The vulnerabilities are confirmed in version 8.0. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised.
Set "magic_quotes_gpc" in php.ini to On.
Use another product.
Provided and/or discovered by: 1) Foster & 1dt.w0lf
2) mustlive
Changelog: 2008-02-04: Added CVE reference.
2008-06-25: Added vulnerability #2.
Original Advisory: 1) http://milw0rm.com/exploits/4965
2) http://websecurity.com.ua/2119/
|
|
|
Track this Secunia Advisory
|
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.
Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.
|
|
|
About this Secunia Advisory
|
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.
|