CVE-2009-4032: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-2chx-2wx9-x7f6
CWE-79
Published
Advisory Summary

CVE-2009-4032 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-4032 at a Glance

CVE Identifier CVE-2009-4032
GHSA Identifier GHSA-2chx-2wx9-x7f6
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-4032

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-4032, 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 Cacti 0.8.7e allow remote attackers to inject arbitrary web script or HTML via vectors related to (1) graph.php, (2) include/top_graph_header.php, (3) lib/html_form.php, and (4) lib/timespan_settings.php, as demonstrated by the (a) graph_end or (b) graph_start parameters to graph.php; (c) the date1 parameter in a tree action to graph_view.php; and the (d) page_refresh and (e) default_dual_pane_width parameters to graph_settings.php.

References

NVD — CVE-2009-4032 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-4032
access.redhat.com/errata/rhsa-2010:06... WEB
https://access.redhat.com/errata/RHSA-2010:0635
Software Security Information SECURITY
https://access.redhat.com/security/cve/CVE-2009-4032
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=541279
exchange.xforce.ibmcloud.com/vulnerabilities/543... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/54388
rhn.redhat.com/errata/rhsa-2010-06... WEB
https://rhn.redhat.com/errata/RHSA-2010-0635.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01390.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2010-January/msg00166.html
archives.neohapsis.com/archives/fulldisclo... WEB
http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0292.html
bugs.gentoo.org/show_bug.cgi WEB
http://bugs.gentoo.org/show_bug.cgi?id=294573
docs.cacti.net/ WEB
http://docs.cacti.net/#cross-site_scripting_fixes
jvn.jp/en/jp/jvn09758120/i... WEB
http://jvn.jp/en/jp/JVN09758120/index.html
jvndb.jvn.jp/ja/contents/2009/jv... WEB
http://jvndb.jvn.jp/ja/contents/2009/JVNDB-2009-003901.html
secunia.com/advisories/37481 WEB
http://secunia.com/advisories/37481
secunia.com/advisories/37934 WEB
http://secunia.com/advisories/37934
secunia.com/advisories/38087 WEB
http://secunia.com/advisories/38087
secunia.com/advisories/41041 WEB
http://secunia.com/advisories/41041
www.cacti.net/download_patches.ph... WEB
http://www.cacti.net/download_patches.php
www.cacti.net/downloads/patches/0... WEB
http://www.cacti.net/downloads/patches/0.8.7e/cross_site_fix.patch
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/11/25/2
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/11/25/4
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/11/26/1
Software Security Information SECURITY
http://www.openwall.com/lists/oss-security/2009/11/30/2
www.osvdb.org/60483 WEB
http://www.osvdb.org/60483
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/508129/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/37109
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/3325
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/2132

Frequently Asked Questions

What is CVE-2009-4032?
CVE-2009-4032 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-4032?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-4032?
CVE-2009-4032 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-4032?
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-2chx-2wx9-x7f6",
  "modified" : "2022-05-02T03:50:58Z",
  "published" : "2022-05-02T03:50:58Z",
  "aliases" : [ "CVE-2009-4032" ],
  "details" : "Multiple cross-site scripting (XSS) vulnerabilities in Cacti 0.8.7e allow remote attackers to inject arbitrary web script or HTML via vectors related to (1) graph.php, (2) include/top_graph_header.php, (3) lib/html_form.php, and (4) lib/timespan_settings.php, as demonstrated by the (a) graph_end or (b) graph_start parameters to graph.php; (c) the date1 parameter in a tree action to graph_view.php; and the (d) page_refresh and (e) default_dual_pane_width parameters to graph_settings.php.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-4032"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2010:0635"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2009-4032"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=541279"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/54388"
  }, {
    "type" : "WEB",
    "url" : "https://rhn.redhat.com/errata/RHSA-2010-0635.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-December/msg01390.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2010-January/msg00166.html"
  }, {
    "type" : "WEB",
    "url" : "http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0292.html"
  }, {
    "type" : "WEB",
    "url" : "http://bugs.gentoo.org/show_bug.cgi?id=294573"
  }, {
    "type" : "WEB",
    "url" : "http://docs.cacti.net/#cross-site_scripting_fixes"
  }, {
    "type" : "WEB",
    "url" : "http://jvn.jp/en/jp/JVN09758120/index.html"
  }, {
    "type" : "WEB",
    "url" : "http://jvndb.jvn.jp/ja/contents/2009/JVNDB-2009-003901.html"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37481"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37934"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/38087"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/41041"
  }, {
    "type" : "WEB",
    "url" : "http://www.cacti.net/download_patches.php"
  }, {
    "type" : "WEB",
    "url" : "http://www.cacti.net/downloads/patches/0.8.7e/cross_site_fix.patch"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/11/25/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/11/25/4"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/11/26/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2009/11/30/2"
  }, {
    "type" : "WEB",
    "url" : "http://www.osvdb.org/60483"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/508129/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/37109"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/3325"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/2132"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-11-29T13:07:00Z"
  }
}