GLSA-200501-39 : SquirrelMail: Multiple vulnerabilities

High Nessus Plugin ID 16430


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-200501-39 (SquirrelMail: Multiple vulnerabilities)

SquirrelMail fails to properly sanitize certain strings when decoding specially crafted strings, which can lead to PHP file inclusion and XSS.
Insufficient checking of incoming URLs in prefs.php (CAN-2005-0075) and in webmail.php (CAN-2005-0103).
Insufficient escaping of integers in webmail.php (CAN-2005-0104).
Impact :

By sending a specially crafted URL, an attacker can execute arbitrary code from the local system with the permissions of the web server. Furthermore by enticing a user to load a specially crafted URL, it is possible to display arbitrary remote web pages in Squirrelmail's frameset and execute arbitrary scripts running in the context of the victim's browser. This could lead to a compromise of the user's webmail account, cookie theft, etc.
Workaround :

The arbitrary code execution is only possible with 'register_globals' set to 'On'. Gentoo ships PHP with 'register_globals' set to 'Off' by default. There are no known workarounds for the other issues at this time.


All SquirrelMail users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=mail-client/squirrelmail-1.4.4' Note: Users with the vhosts USE flag set should manually use webapp-config to finalize the update.

See Also

Plugin Details

Severity: High

ID: 16430

File Name: gentoo_GLSA-200501-39.nasl

Version: $Revision: 1.14 $

Type: local

Published: 2005/02/14

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: High


Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:squirrelmail, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2005/01/28

Vulnerability Publication Date: 2005/01/14

Reference Information

CVE: CVE-2005-0075, CVE-2005-0103, CVE-2005-0104

OSVDB: 13145, 13146, 13147

GLSA: 200501-39