CVE-2009-2816: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-2wxv-94xf-vqv2
CWE-352
Published
Advisory Summary

CVE-2009-2816 is a MODERATE security vulnerability vulnerability (CWE-352: Cross-Site Request Forgery (CSRF)) affecting Software libraries in the Maven ecosystem. The weakness occurs when the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.. Remediation is available in the latest vendor maintenance releases.

CVE-2009-2816 at a Glance

CVE Identifier CVE-2009-2816
GHSA Identifier GHSA-2wxv-94xf-vqv2
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-352: Cross-Site Request Forgery (CSRF)
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2009-2816

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-2816, 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-352: Cross-Site Request Forgery (CSRF), where the web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor. 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

The implementation of Cross-Origin Resource Sharing (CORS) in WebKit, as used in Apple Safari before 4.0.4 and Google Chrome before 3.0.195.33, includes certain custom HTTP headers in the OPTIONS request during cross-origin operations with preflight, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via a crafted web page.

References

NVD — CVE-2009-2816 NVD
https://nvd.nist.gov/vuln/detail/CVE-2009-2816
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=525789
exchange.xforce.ibmcloud.com/vulnerabilities/542... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/54239
Software Security Information SECURITY
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6516
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-November/msg00545.html
www.redhat.com/archives/fedora-pac... WEB
https://www.redhat.com/archives/fedora-package-announce/2009-November/msg00549.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2009/Nov/msg00001.html
Software Security Information SECURITY
http://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html
osvdb.org/59940 WEB
http://osvdb.org/59940
osvdb.org/59967 WEB
http://osvdb.org/59967
secunia.com/advisories/37346 WEB
http://secunia.com/advisories/37346
secunia.com/advisories/37358 WEB
http://secunia.com/advisories/37358
secunia.com/advisories/37393 WEB
http://secunia.com/advisories/37393
secunia.com/advisories/37397 WEB
http://secunia.com/advisories/37397
secunia.com/advisories/43068 WEB
http://secunia.com/advisories/43068
support.apple.com/kb/ht3949 WEB
http://support.apple.com/kb/HT3949
support.apple.com/kb/ht4225 WEB
http://support.apple.com/kb/HT4225
Software Security Information SECURITY
http://www.securityfocus.com/bid/36997
Software Security Information SECURITY
http://www.securitytracker.com/id?1023165
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/3217
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2009/3233
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/0212

Frequently Asked Questions

What is CVE-2009-2816?
CVE-2009-2816 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-352: Cross-Site Request Forgery (CSRF).
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2009-2816?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2009-2816?
CVE-2009-2816 is classified under CWE-352: Cross-Site Request Forgery (CSRF) (The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.).
How can I check Maven dependencies for CVE-2009-2816?
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-2wxv-94xf-vqv2",
  "modified" : "2022-05-02T03:38:54Z",
  "published" : "2022-05-02T03:38:54Z",
  "aliases" : [ "CVE-2009-2816" ],
  "details" : "The implementation of Cross-Origin Resource Sharing (CORS) in WebKit, as used in Apple Safari before 4.0.4 and Google Chrome before 3.0.195.33, includes certain custom HTTP headers in the OPTIONS request during cross-origin operations with preflight, which makes it easier for remote attackers to conduct cross-site request forgery (CSRF) attacks via a crafted web page.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2009-2816"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=525789"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/54239"
  }, {
    "type" : "WEB",
    "url" : "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A6516"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-November/msg00545.html"
  }, {
    "type" : "WEB",
    "url" : "https://www.redhat.com/archives/fedora-package-announce/2009-November/msg00549.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2009/Nov/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.apple.com/archives/security-announce/2010/Jun/msg00003.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00006.html"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/59940"
  }, {
    "type" : "WEB",
    "url" : "http://osvdb.org/59967"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37346"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37358"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37393"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/37397"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/43068"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT3949"
  }, {
    "type" : "WEB",
    "url" : "http://support.apple.com/kb/HT4225"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/36997"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id?1023165"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/3217"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2009/3233"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/0212"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-352" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2009-11-13T15:30:00Z"
  }
}