MyPHPim calendar.php3 cal_id Variable SQL Injection

2006-01-11T07:33:20
ID OSVDB:22324
Type osvdb
Reporter Aliaksandr Hartsuyeu(alex@evuln.com)
Modified 2006-01-11T07:33:20

Description

Vulnerability Description

MyPHPim contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the calendar.php3 script not properly sanitizing user-supplied input to the 'cal_id' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Solution Description

Currently, there are no known upgrades, patches, or workarounds available to correct this issue.

Short Description

MyPHPim contains a flaw that may allow an attacker to carry out an SQL injection attack. The issue is due to the calendar.php3 script not properly sanitizing user-supplied input to the 'cal_id' variable. This may allow an attacker to inject or manipulate SQL queries in the backend database.

Manual Testing Notes

http://[target]/myphpim/calendar.php3?menu=detail&cal_id=999%20union%20select%201,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17/*

References:

Vendor URL: http://sourceforge.net/projects/myphpim/ Secunia Advisory ID:18399 Related OSVDB ID: 22325 Related OSVDB ID: 22326 Related OSVDB ID: 22323 Other Advisory URL: http://www.evuln.com/vulns/22/summary.html FrSIRT Advisory: ADV-2006-0147 CVE-2006-0167 Bugtraq ID: 16210