Secunia Security Advisory - Foster & 1dt.w0lf have discovered a vulnerability in PHP-Nuke, which can be exploited by malicious people to conduct SQL injection attacks.
aa5c37ce5e3672e5a92819d83daab2b8f762ebeb830a0e575ceb042e413f7e3e
----------------------------------------------------------------------
A new version (0.9.0.0 - Release Candidate 1) of the free Secunia PSI
has been released. The new version includes many new and advanced
features, which makes it even easier to stay patched.
Download and test it today:
https://psi.secunia.com/
Read more about this new version:
https://psi.secunia.com/?page=changelog
----------------------------------------------------------------------
TITLE:
PHP-Nuke "modules/Search/index.php" SQL Injection
SECUNIA ADVISORY ID:
SA28624
VERIFY ADVISORY:
http://secunia.com/advisories/28624/
CRITICAL:
Moderately critical
IMPACT:
Manipulation of data, Exposure of sensitive information
WHERE:
>From remote
SOFTWARE:
PHP-Nuke 8.x
http://secunia.com/product/13524/
DESCRIPTION:
Foster & 1dt.w0lf have discovered a vulnerability in PHP-Nuke, which
can be exploited by malicious people to conduct SQL injection
attacks.
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.
The vulnerability is 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:
Foster & 1dt.w0lf
ORIGINAL ADVISORY:
http://milw0rm.com/exploits/4965
----------------------------------------------------------------------
About:
This Advisory was delivered by Secunia as a free service to help
everybody keeping their systems up to date against the latest
vulnerabilities.
Subscribe:
http://secunia.com/secunia_security_advisories/
Definitions: (Criticality, Where etc.)
http://secunia.com/about_secunia_advisories/
Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.
----------------------------------------------------------------------