CVE-2011-4314: Openid4java OpenID4Java Does Not Verify That Vulnerability

MODERATE
Advisory Identifier: GHSA-j473-c3rr-rx9p
CWE-20 CWE-345
Published
Advisory Summary

CVE-2011-4314 is a MODERATE openid4java does not verify that vulnerability (CWE-20: Improper Input Validation) affecting Openid4java libraries in the Maven ecosystem. The issue involves openid4java does not verify that attribute exchange (ax) information is signed. Remediation is available by upgrading affected packages to version 0.9.6.

CVE-2011-4314 at a Glance

CVE Identifier CVE-2011-4314
GHSA Identifier GHSA-j473-c3rr-rx9p
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-20: Improper Input Validation
Affected Product Openid4java
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2011-4314

To remediate this vulnerability, upgrade all affected Openid4java 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.openid4java:openid4java fixed: 0.9.6
<dependency>
    <groupId>org.openid4java</groupId>
    <artifactId>openid4java</artifactId>
    <version>0.9.6</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.openid4java

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.openid4java

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

Note: The mvn dependency:tree -Dincludes=org.openid4java 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-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Openid4java, 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

message/ax/AxMessage.java in OpenID4Java before 0.9.6 final, as used in JBoss Enterprise Application Platform 5.1 before 5.1.2, Step2, Kay Framework before 1.0.2, and possibly other products does not verify that Attribute Exchange (AX) information is signed, which allows remote attackers to modify potentially sensitive AX information without detection via a man-in-the-middle (MITM) attack.

CVE-2011-4314 Affected Openid4java Versions

1 component(s)
Fixed Versions:
0.9.6
Product / Package Ecosystem Affected Versions Fixed Version
org.openid4java:openid4java
Maven
< 0.9.6
0.9.6

References

Frequently Asked Questions

What is CVE-2011-4314?
CVE-2011-4314 is a security vulnerability in Openid4java involving OpenID4Java does not verify that Attribute Exchange (AX) information is signed under CWE-20: Improper Input Validation.
Which Openid4java versions are affected?
Affected versions include releases prior to 0.9.6 across affected packages: org.openid4java:openid4java.
What version fixes CVE-2011-4314?
Upgrading to 0.9.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openid4java affected?
Yes, org.openid4java:openid4java is affected in releases prior to 0.9.6. Upgrade your dependency to 0.9.6 or later.
What CWE is associated with CVE-2011-4314?
CVE-2011-4314 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check Maven dependencies for CVE-2011-4314?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.openid4java'. 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-j473-c3rr-rx9p",
  "modified" : "2025-04-12T02:28:13Z",
  "published" : "2022-05-17T05:15:11Z",
  "aliases" : [ "CVE-2011-4314" ],
  "summary" : "OpenID4Java does not verify that Attribute Exchange (AX) information is signed",
  "details" : "message/ax/AxMessage.java in OpenID4Java before 0.9.6 final, as used in JBoss Enterprise Application Platform 5.1 before 5.1.2, Step2, Kay Framework before 1.0.2, and possibly other products does not verify that Attribute Exchange (AX) information is signed, which allows remote attackers to modify potentially sensitive AX information without detection via a man-in-the-middle (MITM) attack.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.openid4java:openid4java"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4314"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jbufu/openid4java"
  }, {
    "type" : "WEB",
    "url" : "https://issues.jboss.org/browse/JBEPP-1368"
  }, {
    "type" : "WEB",
    "url" : "https://issues.jboss.org/browse/SOA-3597"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201207151157/http://securitytracker.com/id?1026400"
  }, {
    "type" : "WEB",
    "url" : "http://openid.net/2011/05/05/attribute-exchange-security-alert"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-0441.html"
  }, {
    "type" : "WEB",
    "url" : "http://rhn.redhat.com/errata/RHSA-2012-0519.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2011/11/16/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.openwall.com/lists/oss-security/2011/11/17/1"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2011-1804.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-345" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-04-12T02:28:13Z",
    "nvd_published_at" : "2012-01-27T15:55:00Z"
  }
}