SquirrelMail contrib/decrypt_headers.php XSS

medium Nessus Plugin ID 38793

Synopsis

The remote webmail application is affected by a cross-site scripting vulnerability.

Description

The installed version of SquirrelMail fails to sanitize user-supplied input before using it in the 'contrib/decrypt_headers.php' script to dynamically generate HTML.

An unauthenticated attacker can exploit this issue to launch cross-site scripting attacks against the affected application.

There are also reportedly several other issues, including cross-site scripting vulnerabilities, a code injection vulnerability, and a session fixation vulnerability, though Nessus has not tested for these.

Solution

Upgrade to SquirrelMail 1.4.18 or later.

See Also

http://www.squirrelmail.org/security/issue/2009-05-08

Plugin Details

Severity: Medium

ID: 38793

File Name: squirrelmail_1418.nasl

Version: 1.16

Type: remote

Published: 5/15/2009

Updated: 4/11/2022

Configuration: Enable thorough checks

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.8

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.7

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

Vulnerability Information

CPE: cpe:/a:squirrelmail:squirrelmail

Required KB Items: www/squirrelmail

Excluded KB Items: Settings/disable_cgi_scanning

Exploit Ease: No exploit is required

Exploited by Nessus: true

Reference Information

CVE: CVE-2009-1578

BID: 34916

CWE: 79