CVE-2018-12533 Arbitrary code execution in Richfaces
Unauthenticated attackers can execute arbitrary Java code in JBoss RichFaces by injecting expression language via a specific path substring.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-12533?
CVE-2018-12533 is a critical code injection vulnerability in n/a, published on 18 Jun 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
JBoss RichFaces 3.1.0 through 3.3.4 allows unauthenticated remote attackers to inject expression language (EL) expressions and execute arbitrary Java code via a /DATA/ substring in a path with an org.richfaces.renderkit.html.Paint2DResource$ImageData object, aka RF-14310.
Weakness: CWE-917
Which versions are affected by CVE-2018-12533?
2 open source packages ship an affected version, including org.richfaces:richfaces-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.richfaces:richfaces-core Maven | From 3.1.0 to 3.3.4 | None |
org.richfaces:richfaces-core Maven | From 3.1.0 to 3.3.4 | None |
Linux distribution packages (12)
richfaces Red Hat:jboss_enterprise_application_platform:5::el5 | All versions | 0:3.3.1-7.SP3_patch_02.ep5.el5 |
richfaces-cdk Red Hat:jboss_enterprise_application_platform:5::el5 | All versions | 0:3.3.1-7.SP3_patch_02.ep5.el5 |
richfaces-demo Red Hat:jboss_enterprise_application_platform:5::el5 | All versions | 0:3.3.1-7.SP3_patch_02.ep5.el5 |
richfaces-docs Red Hat:jboss_enterprise_application_platform:5::el5 | All versions | 0:3.3.1-7.SP3_patch_02.ep5.el5 |
richfaces-framework Red Hat:jboss_enterprise_application_platform:5::el5 | All versions | 0:3.3.1-7.SP3_patch_02.ep5.el5 |
richfaces-root Red Hat:jboss_enterprise_application_platform:5::el5 | All versions | 0:3.3.1-7.SP3_patch_02.ep5.el5 |
richfaces-ui Red Hat:jboss_enterprise_application_platform:5::el5 | All versions | 0:3.3.1-7.SP3_patch_02.ep5.el5 |
richfaces Red Hat:jboss_enterprise_application_platform:5::el6 | All versions | 0:3.3.1-4.SP3_patch_02.ep5.el6_10 |
richfaces-demo Red Hat:jboss_enterprise_application_platform:5::el6 | All versions | 0:3.3.1-4.SP3_patch_02.ep5.el6_10 |
richfaces-framework Red Hat:jboss_enterprise_application_platform:5::el6 | All versions | 0:3.3.1-4.SP3_patch_02.ep5.el6_10 |
richfaces-root Red Hat:jboss_enterprise_application_platform:5::el6 | All versions | 0:3.3.1-4.SP3_patch_02.ep5.el6_10 |
richfaces-ui Red Hat:jboss_enterprise_application_platform:5::el6 | All versions | 0:3.3.1-4.SP3_patch_02.ep5.el6_10 |
Products include Redhat Richfaces.
How do I fix CVE-2018-12533?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2018-12533 being exploited?
There is no known exploitation of CVE-2018-12533 in the wild and no public exploit code.
Public exploit code: 5 proofs of concept on GitHub.
Other vulnerabilities in n/a
Sources
Also known as CVE-2018-10849, GHSA-4j38-wjhf-884r, RHSA-2018:2664.