CVE-2006-6142 Cross-site scripting in n/a

Medium 6.8 Published Updated

Remote attackers can inject arbitrary web script or HTML via specific parameters in SquirrelMail, potentially leading to session hijacking or malicious actions.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2006-6142?

CVE-2006-6142 is a medium-severity cross-site scripting vulnerability in Squirrelmail Squirrelmail, published on 5 Dec 2006. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in SquirrelMail 1.4.0 through 1.4.9 allow remote attackers to inject arbitrary web script or HTML via the (1) mailto parameter in (a) webmail.php, the (2) session and (3) delete_draft parameters in (b) compose.php, and (4) unspecified vectors involving "a shortcoming in the magicHTML filter."

Which versions are affected by CVE-2006-6142?

It affects 1 product.

Linux distribution packages (8)
squirrelmail Red Hat:enterprise_linux:3::asAll versions0:1.4.8-4.el3
squirrelmail Red Hat:enterprise_linux:3::desktopAll versions0:1.4.8-4.el3
squirrelmail Red Hat:enterprise_linux:3::esAll versions0:1.4.8-4.el3
squirrelmail Red Hat:enterprise_linux:3::wsAll versions0:1.4.8-4.el3
squirrelmail Red Hat:enterprise_linux:4::asAll versions0:1.4.8-4.el4
squirrelmail Red Hat:enterprise_linux:4::desktopAll versions0:1.4.8-4.el4
squirrelmail Red Hat:enterprise_linux:4::esAll versions0:1.4.8-4.el4
squirrelmail Red Hat:enterprise_linux:4::wsAll versions0:1.4.8-4.el4

Products include Squirrelmail Squirrelmail.

How do I fix CVE-2006-6142?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2006-6142 being exploited?

There is no known exploitation of CVE-2006-6142 in the wild and no public exploit code.

All Squirrelmail Squirrelmail vulnerabilities

Sources

Also known as DSA-1241-1, GHSA-58cj-jwpm-3hvq, RHSA-2007:0022.

Is CVE-2006-6142 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free