{"answers":{"affected":"2 open source packages ship an affected version, including org.richfaces:richfaces-core. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-12533 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"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."},"fix_prompt":"Check this codebase for CVE-2018-12533 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2018-12533 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.richfaces:richfaces-core (Maven): affected from 3.1.0 up to 3.3.4; no fix listed\n- org.richfaces:richfaces-core (Maven): affected from 3.1.0 up to 3.3.4; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2018-12533/ (Markdown: https://insights.sbomify.com/CVE-2018-12533/index.md)","id":"CVE-2018-12533","markdown":"https://insights.sbomify.com/CVE-2018-12533/index.md","name":"CVE-2018-12533","record":{"aliases":["CVE-2018-10849","GHSA-4j38-wjhf-884r","RHSA-2018:2664"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JBoss RichFaces library","requires_auth":"none","summary":"Unauthenticated attackers can execute arbitrary Java code in JBoss RichFaces by injecting expression language via a specific path substring.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"richfaces","vendor":"redhat"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"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.","ecosystems":["Maven","Red Hat:jboss_enterprise_application_platform:5::el5","Red Hat:jboss_enterprise_application_platform:5::el6"],"exploits":{"exploitdb":0,"first_seen":"2018-12-15","github_poc":5,"max_poc_stars":9,"metasploit":0,"nuclei":0,"refs":[{"date":"2018-12-15T09:08:53Z","kind":"github_poc","ref":"https://github.com/llamaonsecurity/CVE-2018-12533","stars":9,"title":"RF-14310 / CVE-2018-12533 - Payload generator "},{"date":"2021-11-08T21:10:20Z","kind":"github_poc","ref":"https://github.com/Pastea/CVE-2018-12533","stars":1,"title":null},{"date":"2025-04-22T19:23:36Z","kind":"github_poc","ref":"https://github.com/mhagnumdw/richfaces-vulnerability-cve-2018-12533-rf-14310","stars":1,"title":null},{"date":"2025-11-24T20:58:41Z","kind":"github_poc","ref":"https://github.com/LucasKatashi/paint2die","stars":1,"title":"Simplest and most reliable RichFaces Paint2DResource CVE-2018-12533 RF-14310 exploit PoC"},{"date":"2026-10-01T17:37:45Z","kind":"github_poc","ref":"https://github.com/arslanben/richfaces-paint2d-lab","stars":1,"title":"Deliberately vulnerable CTF lab reproducing CVE-2018-12533 (RichFaces Paint2DResource EL injection) end to end."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Arbitrary code execution in Richfaces","id":"CVE-2018-12533","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":14,"n_references":7,"next":{"headline":"SQL injection in n/a","id":"CVE-2018-12534"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.3.4"],"package":"org.richfaces:richfaces-core","purl":null,"source":"GHSA-4j38-wjhf-884r"},{"ecosystem":"Maven","fixed":[],"introduced":["3.1.0"],"last_affected":["3.3.4"],"package":"org.richfaces:richfaces-core","purl":"pkg:maven/org.richfaces/richfaces-core","source":"GHSA-4j38-wjhf-884r"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"richfaces","purl":"pkg:rpm/redhat/richfaces","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"richfaces-cdk","purl":"pkg:rpm/redhat/richfaces-cdk","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"richfaces-demo","purl":"pkg:rpm/redhat/richfaces-demo","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"richfaces-docs","purl":"pkg:rpm/redhat/richfaces-docs","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"richfaces-framework","purl":"pkg:rpm/redhat/richfaces-framework","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"richfaces-root","purl":"pkg:rpm/redhat/richfaces-root","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"richfaces-ui","purl":"pkg:rpm/redhat/richfaces-ui","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"introduced":["0"],"last_affected":[],"package":"richfaces","purl":"pkg:rpm/redhat/richfaces","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"introduced":["0"],"last_affected":[],"package":"richfaces-demo","purl":"pkg:rpm/redhat/richfaces-demo","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"introduced":["0"],"last_affected":[],"package":"richfaces-framework","purl":"pkg:rpm/redhat/richfaces-framework","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"introduced":["0"],"last_affected":[],"package":"richfaces-root","purl":"pkg:rpm/redhat/richfaces-root","source":"RHSA-2018:2664"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"introduced":["0"],"last_affected":[],"package":"richfaces-ui","purl":"pkg:rpm/redhat/richfaces-ui","source":"RHSA-2018:2664"}],"prev":{"headline":"RichFaces vulnerable to Expression Language Injection","id":"CVE-2018-12532"},"products":["n/a"],"published":"2018-06-18","related":[{"cvss_score":9.8,"headline":"RichFaces vulnerable to Expression Language Injection","id":"CVE-2018-12532","kev_date_added":null,"published":"2018-06-18"},{"cvss_score":6.8,"headline":"Code injection in n/a","id":"CVE-2015-0279","kev_date_added":null,"published":"2015-03-26"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Unauthenticated attackers can execute arbitrary Java code in JBoss RichFaces by injecting expression language via a specific path substring.","url":"https://insights.sbomify.com/CVE-2018-12533/"}