CVE-2010-3300: Esapi Padding Oracle Attacks Vulnerability

MODERATE
Advisory Identifier: GHSA-3gp6-hhfw-4gqx
CVSS 5.9
CWE-649
Published
Advisory Summary

CVE-2010-3300 is a MODERATE (CVSS 5.9) padding oracle attacks vulnerability (CWE-649: Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking) affecting Esapi libraries in the Maven ecosystem. The issue involves padding oracle attacks. Remediation is available by upgrading affected packages to version 2.0GA.

CVE-2010-3300 at a Glance

CVE Identifier CVE-2010-3300
GHSA Identifier GHSA-3gp6-hhfw-4gqx
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-649: Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking
Affected Product Esapi
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2010-3300

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

org.owasp.esapi:esapi fixed: 2.0GA
<dependency>
    <groupId>org.owasp.esapi</groupId>
    <artifactId>esapi</artifactId>
    <version>2.0GA</version>
</dependency>
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 -Dincludes=org.owasp.esapi

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.owasp.esapi

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

Note: The mvn dependency:tree -Dincludes=org.owasp.esapi 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-649: Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking, where the product uses obfuscation or encryption of inputs that should not be mutable by an external actor, but the product does not use integrity checks to detect if those inputs have been modified. In Esapi, 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

It was found that all OWASP ESAPI for Java up to version 2.0 RC2 are vulnerable to padding oracle attacks.

CVE-2010-3300 Affected Esapi Versions

1 component(s)
Fixed Versions:
2.0GA
Product / Package Ecosystem Affected Versions Fixed Version
org.owasp.esapi:esapi
Maven
< 2.0GA
2.0GA

References

Frequently Asked Questions

What is CVE-2010-3300?
CVE-2010-3300 is a security vulnerability in Esapi involving Padding oracle attacks under CWE-649: Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking.
Which Esapi versions are affected?
Affected versions include releases prior to 2.0GA across affected packages: org.owasp.esapi:esapi.
What version fixes CVE-2010-3300?
Upgrading to 2.0GA (or the latest patched release for your respective branch) resolves the vulnerability.
Is esapi affected?
Yes, org.owasp.esapi:esapi is affected in releases prior to 2.0GA. Upgrade your dependency to 2.0GA or later.
What is the CVSS score of CVE-2010-3300?
CVE-2010-3300 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2010-3300?
CVE-2010-3300 is classified under CWE-649: Reliance on Obfuscation or Encryption of Security-Relevant Inputs without Integrity Checking (The product uses obfuscation or encryption of inputs that should not be mutable by an external actor, but the product does not use integrity checks to detect if those inputs have been modified.).
How can I check Maven dependencies for CVE-2010-3300?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.owasp.esapi'. 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-3gp6-hhfw-4gqx",
  "modified" : "2021-06-28T19:05:25Z",
  "published" : "2021-08-13T15:22:24Z",
  "aliases" : [ "CVE-2010-3300" ],
  "summary" : "Padding oracle attacks",
  "details" : "It was found that all OWASP ESAPI for Java up to version 2.0 RC2 are vulnerable to padding oracle attacks.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.owasp.esapi:esapi"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0GA"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-3300"
  }, {
    "type" : "WEB",
    "url" : "https://seclists.org/oss-sec/2010/q3/357"
  }, {
    "type" : "WEB",
    "url" : "https://www.usenix.org/legacy/events/woot10/tech/full_papers/Rizzo.pdf"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-649" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-06-24T20:07:33Z",
    "nvd_published_at" : "2021-06-22T12:15:00Z"
  }
}