CVE-2007-6203: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-g7xr-j224-9v5w
CWE-79
Published
Advisory Summary

CVE-2007-6203 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-2007-6203 at a Glance

CVE Identifier CVE-2007-6203
GHSA Identifier GHSA-g7xr-j224-9v5w
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-2007-6203

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-2007-6203, 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

Apache HTTP Server 2.0.x and 2.2.x does not sanitize the HTTP Method specifier header from an HTTP request when it is reflected back in a "413 Request Entity Too Large" error message, which might allow cross-site scripting (XSS) style attacks using web client components that can send arbitrary headers in requests, as demonstrated via an HTTP request containing an invalid Content-length value, a similar issue to CVE-2006-3918.

References

NVD — CVE-2007-6203 NVD
https://nvd.nist.gov/vuln/detail/CVE-2007-6203
exchange.xforce.ibmcloud.com/vulnerabilities/388... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/38800
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12166
docs.info.apple.com/article.html WEB
http://docs.info.apple.com/article.html?artnum=307562
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2008-04/msg00004.html
marc.info/ WEB
http://marc.info/?l=bugtraq&m=125631037611762&w=2
marc.info/ WEB
http://marc.info/?l=bugtraq&m=129190899612998&w=2
procheckup.com/vulnerability_pr07-... WEB
http://procheckup.com/Vulnerability_PR07-37.php
secunia.com/advisories/27906 WEB
http://secunia.com/advisories/27906
secunia.com/advisories/28196 WEB
http://secunia.com/advisories/28196
secunia.com/advisories/29348 WEB
http://secunia.com/advisories/29348
secunia.com/advisories/29420 WEB
http://secunia.com/advisories/29420
secunia.com/advisories/29640 WEB
http://secunia.com/advisories/29640
secunia.com/advisories/30356 WEB
http://secunia.com/advisories/30356
secunia.com/advisories/30732 WEB
http://secunia.com/advisories/30732
secunia.com/advisories/33105 WEB
http://secunia.com/advisories/33105
secunia.com/advisories/34219 WEB
http://secunia.com/advisories/34219
Software Security Information SECURITY
http://security.gentoo.org/glsa/glsa-200803-19.xml
Software Security Information SECURITY
http://securityreason.com/securityalert/3411
www-1.ibm.com/support/docview.wss WEB
http://www-1.ibm.com/support/docview.wss?uid=swg1PK57952
www-1.ibm.com/support/docview.wss WEB
http://www-1.ibm.com/support/docview.wss?uid=swg24019245
Software Security Information SECURITY
http://www.fujitsu.com/global/support/software/security/products-f/interstage-200807e.html
Software Security Information SECURITY
http://www.securityfocus.com/archive/1/484410/100/0/threaded
Software Security Information SECURITY
http://www.securityfocus.com/bid/26663
Software Security Information SECURITY
http://www.securitytracker.com/id?1019030
www.ubuntu.com/usn/usn-731-1 WEB
http://www.ubuntu.com/usn/USN-731-1
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/4060
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2007/4301
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/0924/references
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/1623/references
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2008/1875/references

Frequently Asked Questions

What is CVE-2007-6203?
CVE-2007-6203 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-2007-6203?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2007-6203?
CVE-2007-6203 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-2007-6203?
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-g7xr-j224-9v5w",
  "modified" : "2022-05-01T18:40:42Z",
  "published" : "2022-05-01T18:40:42Z",
  "aliases" : [ "CVE-2007-6203" ],
  "details" : "Apache HTTP Server 2.0.x and 2.2.x does not sanitize the HTTP Method specifier header from an HTTP request when it is reflected back in a \"413 Request Entity Too Large\" error message, which might allow cross-site scripting (XSS) style attacks using web client components that can send arbitrary headers in requests, as demonstrated via an HTTP request containing an invalid Content-length value, a similar issue to CVE-2006-3918.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2007-6203"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/38800"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A12166"
  }, {
    "type" : "WEB",
    "url" : "http://docs.info.apple.com/article.html?artnum=307562"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2008/Mar/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2008-04/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=125631037611762&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=bugtraq&m=129190899612998&w=2"
  }, {
    "type" : "WEB",
    "url" : "http://procheckup.com/Vulnerability_PR07-37.php"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/27906"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/28196"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29348"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29420"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/29640"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30356"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/30732"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/33105"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/34219"
  }, {
    "type" : "WEB",
    "url" : "http://security.gentoo.org/glsa/glsa-200803-19.xml"
  }, {
    "type" : "WEB",
    "url" : "http://securityreason.com/securityalert/3411"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg1PK57952"
  }, {
    "type" : "WEB",
    "url" : "http://www-1.ibm.com/support/docview.wss?uid=swg24019245"
  }, {
    "type" : "WEB",
    "url" : "http://www.fujitsu.com/global/support/software/security/products-f/interstage-200807e.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/archive/1/484410/100/0/threaded"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/26663"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1019030"
  }, {
    "type" : "WEB",
    "url" : "http://www.ubuntu.com/usn/USN-731-1"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/4060"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2007/4301"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/0924/references"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/1623/references"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2008/1875/references"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2007-12-03T22:46:00Z"
  }
}