ACal 2.2.6 - 'calendar.php' Cross-Site Scripting

EDB-ID:

36110

CVE:

N/A


Author:

T0xic

Type:

webapps


Platform:

PHP

Date:

2011-09-02


source: https://www.securityfocus.com/bid/49442/info

ACal is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.

An attacker can exploit this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may help the attacker steal cookie-based authentication credentials and launch other attacks.

ACal 2.2.6 is vulnerable; other versions may also be affected. 

http://www.example.com/calendar/calendar.php?year=<script>alert(document.cookie)</script>