CVE-2004-0520 Cross-site scripting in n/a
Remote attackers can inject arbitrary HTML and script via mail headers in SquirrelMail, potentially leading to session hijacking or code execution.
- 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-2004-0520?
CVE-2004-0520 is a medium-severity cross-site scripting vulnerability in Sgi Propack, published on 3 Jun 2004. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in mime.php for SquirrelMail before 1.4.3 allows remote attackers to insert arbitrary HTML and script via the content-type mail header, as demonstrated using read_body.php.
Which versions are affected by CVE-2004-0520?
It affects 3 products.
Products include Open Webmail Open Webmail, Sgi Propack, Squirrelmail Squirrelmail.
How do I fix CVE-2004-0520?
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-2004-0520 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2004-0520 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Sgi Propack
Sources
Also known as GHSA-5vvf-4w4f-hj33.