CVE-2011-4343: Myfaces core module Apache MyFaces Vulnerable To EL Vulnerability

HIGH
Advisory Identifier: GHSA-jq6g-p65r-44xr
CVSS 7.5
CWE-917 CWE-200
Published
Advisory Summary

CVE-2011-4343 is a HIGH (CVSS 7.5) apache myfaces vulnerable to el vulnerability (CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')) affecting Myfaces core module libraries in the Maven ecosystem. The issue involves apache myfaces vulnerable to el injection. Remediation is available by upgrading affected packages to version 2.0.11, 2.1.5.

CVE-2011-4343 at a Glance

CVE Identifier CVE-2011-4343
GHSA Identifier GHSA-jq6g-p65r-44xr
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')
Affected Product Myfaces core module
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
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-2011-4343

To remediate this vulnerability, upgrade all affected Myfaces core module 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.apache.myfaces.core:myfaces-core-module fixed: 2.0.11
<dependency>
    <groupId>org.apache.myfaces.core</groupId>
    <artifactId>myfaces-core-module</artifactId>
    <version>2.0.11</version>
</dependency>
org.apache.myfaces.core:myfaces-core-module fixed: 2.1.5
<dependency>
    <groupId>org.apache.myfaces.core</groupId>
    <artifactId>myfaces-core-module</artifactId>
    <version>2.1.5</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.apache.myfaces.core

How to Check if You Are Affected

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

mvn dependency:tree -Dincludes=org.apache.myfaces.core

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

Note: The mvn dependency:tree -Dincludes=org.apache.myfaces.core 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-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection'), where the product constructs all or part of an expression language (el) statement in a framework such as a java server page (jsp) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended el statement before it is executed. In Myfaces core module, 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

Information disclosure vulnerability in Apache MyFaces Core 2.0.1 through 2.0.10 and 2.1.0 through 2.1.4 allows remote attackers to inject EL expressions via crafted parameters.

CVE-2011-4343 Affected Myfaces core module Versions

2 component(s)
Fixed Versions:
2.0.112.1.5
Product / Package Ecosystem Affected Versions Fixed Version
org.apache.myfaces.core:myfaces-core-module
Maven
≥ 2.0.1
< 2.0.11
2.0.11
org.apache.myfaces.core:myfaces-core-module
Maven
≥ 2.1.0
< 2.1.5
2.1.5

References

Frequently Asked Questions

What is CVE-2011-4343?
CVE-2011-4343 is a security vulnerability in Myfaces core module involving Apache MyFaces Vulnerable to EL Injection under CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection').
Which Myfaces core module versions are affected?
Affected versions include releases prior to 2.0.11, 2.1.5 across affected packages: org.apache.myfaces.core:myfaces-core-module.
What version fixes CVE-2011-4343?
Upgrading to 2.0.11, 2.1.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is myfaces-core-module affected?
Yes, org.apache.myfaces.core:myfaces-core-module is affected in releases prior to 2.0.11, 2.1.5. Upgrade your dependency to 2.0.11, 2.1.5 or later.
What is the CVSS score of CVE-2011-4343?
CVE-2011-4343 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2011-4343?
CVE-2011-4343 is classified under CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection') (The product constructs all or part of an expression language (EL) statement in a framework such as a Java Server Page (JSP) using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended EL statement before it is executed.).
How can I check Maven dependencies for CVE-2011-4343?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.apache.myfaces.core'. 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-jq6g-p65r-44xr",
  "modified" : "2024-01-17T22:25:44Z",
  "published" : "2022-05-17T00:29:01Z",
  "aliases" : [ "CVE-2011-4343" ],
  "summary" : "Apache MyFaces Vulnerable to EL Injection",
  "details" : "Information disclosure vulnerability in Apache MyFaces Core 2.0.1 through 2.0.10 and 2.1.0 through 2.1.4 allows remote attackers to inject EL expressions via crafted parameters.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.myfaces.core:myfaces-core-module"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.1"
      }, {
        "fixed" : "2.0.11"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.0.10"
    }
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.apache.myfaces.core:myfaces-core-module"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.5"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.1.4"
    }
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-4343"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/myfaces/commit/a74b551b2ce6e88101ff453389a761f230e428a1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apache/myfaces/commit/caee86e71ab8c5f038186158e9955887ed72a0fd"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apache/myfaces"
  }, {
    "type" : "WEB",
    "url" : "https://issues.apache.org/jira/secure/attachment/12504807/MYFACES-3405-1.patch"
  }, {
    "type" : "WEB",
    "url" : "http://marc.info/?l=full-disclosure&m=132313252814362"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-917" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-01-17T22:25:44Z",
    "nvd_published_at" : "2017-08-08T21:29:00Z"
  }
}