php-nuke sql injection vulnerabilities in News Module!up to 7.9
Date: Wednesday, November 29 @ 12:43:42 CET
Topic: Security


Paisterist has discovered two vulnerabilities in PHP-Nuke, which can be exploited by malicious people to conduct SQL injection attacks....(from http://secunia.com/advisories/23128/)I am not sure the sentinel will be protective or not...doctornuke"

Evaders99's note:: This was already reported to chatserv and corrected in the latest Patched files. Please get the new modules/News/index.php file

Input passed to the "sid" parameter in modules/News/index.php from modules.php 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 retrieval of administrator usernames and password hashes, but requires that "magic_quotes_gpc" is disabled and that the attacker knows the prefix for the database tables.

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.

Set "magic_quotes_gpc" in php.ini to On.

Use another product.





This article comes from NukeCops
http://www.nukecops.com

The URL for this story is:
http://www.nukecops.com/modules.php?name=News&file=article&sid=5917