[SA18450] Light Weight Calendar "date" PHP Code Execution Vulnerability

2006-01-13T00:00:00
ID SECURITYVULNS:DOC:11024
Type securityvulns
Reporter Securityvulns
Modified 2006-01-13T00:00:00

Description

TITLE: Light Weight Calendar "date" PHP Code Execution Vulnerability

SECUNIA ADVISORY ID: SA18450

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

CRITICAL: Highly critical

IMPACT: System access

WHERE: >From remote

SOFTWARE: Light Weight Calendar 1.x http://secunia.com/product/6810/

DESCRIPTION: Aliaksandr Hartsuyeu has reported a vulnerability in Light Weight Calendar, which can be exploited by malicious people to compromise a vulnerable system.

Input passed to the "date" parameter in "index.php" isn't properly sanitised before being used in an "eval()" call. This can be exploited to execute arbitrary PHP code.

Example: http://[victim]/index.php?stam=1928504&date=20050901);[code]&View=month

The vulnerability has been reported in version 1.0. Other versions may also be affected.

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

PROVIDED AND/OR DISCOVERED BY: Aliaksandr Hartsuyeu

ORIGINAL ADVISORY: http://evuln.com/vulns/29/summary.html


About: This Advisory was delivered by Secunia as a free service to help everybody keeping their systems up to date against the latest vulnerabilities.

Subscribe: http://secunia.com/secunia_security_advisories/

Definitions: (Criticality, Where etc.) http://secunia.com/about_secunia_advisories/

Please Note: Secunia recommends that you verify all advisories you receive by clicking the link. Secunia NEVER sends attached files with advisories. Secunia does not advise people to install third party patches, only use those supplied by the vendor.