Ravens PHP Scripts

phpEventCalendar *id* SQL Injection Vulnerability
Date: Tuesday, July 03, 2007 @ 14:17:18 PDT
Topic: Security


SECUNIA ADVISORY ID: SA25915

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

CRITICAL: Moderately critical

IMPACT: Manipulation of data, Exposure of sensitive information

WHERE: >From remote

SOFTWARE: phpEventCalendar 0.x - http://secunia.com/product/4567/

DESCRIPTION: Iron has discovered a vulnerability in phpEventCalendar, which can be exploited by malicious people to conduct SQL injection attacks.



Input passed to the "id" parameter in eventdisplay.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 e.g. retrieval of administrator usernames and passwords. The vulnerability is confirmed in version 0.2.3. Other versions may also be affected.

SOLUTION: Edit the source code to ensure that input is properly sanitised.

PROVIDED AND/OR DISCOVERED BY: Iron

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






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

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