Ravens PHP Scripts

PHP-Nuke *eid* SQL Injection Vulnerability
Date: Monday, October 23, 2006 @ 16:42:34 UTC
Topic: Security


SECUNIA ADVISORY ID: SA22511

VERIFY ADVISORY: http://secunia.com/advisories/22511/

CRITICAL: Moderately critical

IMPACT: Manipulation of data

WHERE: >From remote

SOFTWARE: PHP-Nuke 7.x - http://secunia.com/product/2385/

DESCRIPTION: Paisterist has discovered a vulnerability in PHP-Nuke, which can be exploited by malicious people to conduct SQL injection attacks.


Input passed to the "eid" parameter when performing a search in the Encyclopedia module 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 requires that "magic_quotes_gpc" is disabled. The vulnerability is 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" to "On".

PROVIDED AND/OR DISCOVERED BY: Paisterist

ORIGINAL ADVISORY: http://milw0rm.com/exploits/2617


Admin: If you are up-to-date with your patches you will not be affected by this. Also, I beleive this is an old exploit, but I'm not sure



This article comes from Ravens PHP Scripts
https://www.ravenphpscripts.com

The URL for this story is:
https://www.ravenphpscripts.com/modules.php?name=News&file=article&sid=2470