CVE-2009-1578: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-2ffv-f223-6p7w
CWE-79
Published
Advisory Summary

CVE-2009-1578 is a MODERATE security vulnerability vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.. Remediation is available in the latest vendor maintenance releases.

CVE-2009-1578 at a Glance

CVE Identifier CVE-2009-1578
GHSA Identifier GHSA-2ffv-f223-6p7w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2009-1578

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2009-1578, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Multiple cross-site scripting (XSS) vulnerabilities in SquirrelMail before 1.4.18 and NaSMail before 1.7 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).

References

NVD — CVE-2009-1578 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-1578
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=500363
exchange.xforce.ibmcloud.com/vulnerabilities/504... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/50459
exchange.xforce.ibmcloud.com/vulnerabilities/504... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/50460
gna.org/forum/forum.php WEB
https://gna.org/forum/forum.php?forum_id=2146
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11624
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00566.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00572.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00577.html
download.gna.org/nasmail/nasmail-1.7... WEB
http://download.gna.org/nasmail/nasmail-1.7.zip
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010//Jun/msg00001.html
osvdb.org/60468 WEB
http://osvdb.org/60468
secunia.com/advisories/35052 WEB
http://secunia.com/advisories/35052
secunia.com/advisories/35073 WEB
http://secunia.com/advisories/35073
secunia.com/advisories/35140 WEB
http://secunia.com/advisories/35140
secunia.com/advisories/35259 WEB
http://secunia.com/advisories/35259
secunia.com/advisories/37415 WEB
http://secunia.com/advisories/37415
secunia.com/advisories/40220 WEB
http://secunia.com/advisories/40220
squirrelmail.svn.sourceforge.net/viewvc/squirrelmail... WEB
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/contrib/decrypt_headers.php?r1=13672&r2=13671&pathrev=13672
squirrelmail.svn.sourceforge.net/viewvc/squirrelmail... WEB
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog
squirrelmail.svn.sourceforge.net/viewvc/squirrelmail... WEB
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/global.php?r1=13670&r2=13669&pathrev=13670
squirrelmail.svn.sourceforge.net/viewvc/squirrelmail WEB
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13670
squirrelmail.svn.sourceforge.net/viewvc/squirrelmail WEB
http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13672
support.apple.com/kb/ht4188 WEB
http://support.apple.com/kb/HT4188
Software Security Information SECURITY
http://www.debian.org/security/2009/dsa-1802
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2009:110
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2009-1066.html
Software Security Information SECURITY
http://www.securityfocus.com/bid/34916
Software Security Information SECURITY
http://www.squirrelmail.org/security/issue/2009-05-08
Software Security Information SECURITY
http://www.squirrelmail.org/security/issue/2009-05-09
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/1296
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/3315
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/1481

Frequently Asked Questions

What is CVE-2009-1578?
CVE-2009-1578 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2009-1578?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-1578?
CVE-2009-1578 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check Maven dependencies for CVE-2009-1578?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2ffv-f223-6p7w",
  "modified" : "2022-05-02T03:26:33Z",
  "published" : "2022-05-02T03:26:33Z",
  "aliases" : [ "CVE-2009-1578" ],
  "details" : "Multiple cross-site scripting (XSS) vulnerabilities in SquirrelMail before 1.4.18 and NaSMail before 1.7 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).",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-1578"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=500363"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/50459"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/50460"
  }, {
    "type" : "WEB",
    "url" : "https://gna.org/forum/forum.php?forum_id=2146"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A11624"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00566.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00572.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00577.html"
  }, {
    "type" : "WEB",
    "url" : "http://download.gna.org/nasmail/nasmail-1.7.zip"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010//Jun/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/60468"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35052"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35073"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35140"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/35259"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37415"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/40220"
  }, {
    "type" : "WEB",
    "url" : "http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/contrib/decrypt_headers.php?r1=13672&r2=13671&pathrev=13672"
  }, {
    "type" : "WEB",
    "url" : "http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog"
  }, {
    "type" : "WEB",
    "url" : "http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/global.php?r1=13670&r2=13669&pathrev=13670"
  }, {
    "type" : "WEB",
    "url" : "http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13670"
  }, {
    "type" : "WEB",
    "url" : "http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13672"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4188"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2009/dsa-1802"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2009:110"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2009-1066.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/34916"
  }, {
    "type" : "WEB",
    "url" : "http://www.squirrelmail.org/security/issue/2009-05-08"
  }, {
    "type" : "WEB",
    "url" : "http://www.squirrelmail.org/security/issue/2009-05-09"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/1296"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/3315"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/1481"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-05-14T17:30:00Z"
  }
}