Red Hat Bugzilla – Bug 500363
CVE-2009-1578 SquirrelMail: Multiple cross site scripting issues
Last modified: 2016-03-04 06:43:58 EST
A, From SquirrelMail vulnerability report
Two issues were fixed that both allowed an attacker to run arbitrary script (XSS) on most any SquirrelMail page by getting the user to click on specially crafted SquirrelMail links.
Credits: Niels Teusink and Christian Balzer
B, From SquirrelMail vulnerability report:
An issue was fixed wherein input to the contrib/decrypt_headers.php script was not sanitized and allowed arbitrary script execution upon submission of certain values.
Credits: Niels Teusink
squirrelmail-1.4.18-1.fc9 has been submitted as an update for Fedora 9.
squirrelmail-1.4.18-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report.
squirrelmail-1.4.18-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
squirrelmail-1.4.18-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.
Poc (from svn commit):
+ * Update: strip_tags() won't catch something like
+ * src/right_main.php?sort=0&startMessage=1&mailbox=INBOX&xxx="><script>window.open("http://example.com")</script>
+ * or
+ * contrib/decrypt_headers.php/%22%20onmouseover=%22alert(%27hello%20world%27)%22%3E
+ * because it doesn't bother with broken tags.
+ * htmlspecialchars() is the preferred method.
Multiple cross-site scripting (XSS) vulnerabilities in SquirrelMail
before 1.4.18 allow remote attackers to inject arbitrary web script or
HTML via vectors involving (1) certain encrypted strings in e-mail
headers, related to contrib/decrypt_headers.php; (2) PHP_SELF; and (3)
the query string (aka QUERY_STRING).
This issue has been addressed in following products:
Red Hat Enterprise Linux 3
Red Hat Enterprise Linux 4
Red Hat Enterprise Linux 5
Via RHSA-2009:1066 https://rhn.redhat.com/errata/RHSA-2009-1066.html