CVE-2013-2165: Richfaces Remote Code Execution Vulnerability
HIGHCVE-2013-2165 is a HIGH remote code execution vulnerability (General Security Weakness) affecting Richfaces libraries in the Maven ecosystem. The issue involves remote code execution due to insecure deserialization. Remediation is available by upgrading affected packages to version 3.3.3, 4.3.2.
CVE-2013-2165 at a Glance
How to Fix CVE-2013-2165
To remediate this vulnerability, upgrade all affected Richfaces dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces</artifactId>
<version>3.3.3</version>
</dependency>
<dependency>
<groupId>org.richfaces</groupId>
<artifactId>richfaces</artifactId>
<version>4.3.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.richfaces
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2013-2165, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.richfaces
Analyze the terminal output to locate any version of Richfaces in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.3.3), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.richfaces 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 General Security Weakness. In Richfaces, 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
CVE-2013-2165 Affected Richfaces Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.richfaces:richfaces
|
Maven |
≥ 3.1.0
< 3.3.3
|
3.3.3
|
|
org.richfaces:richfaces
|
Maven |
≥ 4.0.0
< 4.3.2
|
4.3.2
|
References
Frequently Asked Questions
What is CVE-2013-2165?
Which Richfaces versions are affected?
What version fixes CVE-2013-2165?
Is richfaces affected?
What CWE is associated with CVE-2013-2165?
How can I check Maven dependencies for CVE-2013-2165?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4344-frcp-j22q",
"modified" : "2022-11-03T22:44:02Z",
"published" : "2022-05-13T01:27:59Z",
"aliases" : [ "CVE-2013-2165" ],
"summary" : "Remote code execution due to insecure deserialization",
"details" : "A flaw was found in the way JBoss RichFaces handled deserialization. A remote attacker could use this flaw to trigger the execution of the deserialization methods in any serializable class deployed on the server. This could lead to a variety of security impacts depending on the deserialization logic of these classes.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.richfaces:richfaces"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.3.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.richfaces:richfaces"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.0.0"
}, {
"fixed" : "4.3.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-2165"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/security/cve/CVE-2013-2165"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=973570"
}, {
"type" : "WEB",
"url" : "http://jvn.jp/en/jp/JVN38787103/index.html"
}, {
"type" : "WEB",
"url" : "http://jvndb.jvn.jp/jvndb/JVNDB-2013-000072"
}, {
"type" : "WEB",
"url" : "http://packetstormsecurity.com/files/156663/Richsploit-RichFaces-Exploitation-Toolkit.html"
}, {
"type" : "WEB",
"url" : "http://seclists.org/fulldisclosure/2020/Mar/21"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-11-03T22:44:02Z",
"nvd_published_at" : "2013-07-23T11:03:00Z"
}
}