PHP-Nuke *eid* SQL Injection Vulnerability

Posted on Monday, October 23, 2006 @ 16:42:34 CDT in Security
by Raven

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
Note:
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
 
 
Associated TopicsPHP-Nuke