{"id":"CVE-2018-12533","aliases":["EUVD-2022-2391","GHSA-4j38-wjhf-884r","RHSA-2018:2664"],"status":"published","title":"Arbitrary code execution in Richfaces","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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.18681,"percentile":0.97287,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-917"],"published":"2018-06-18T12:00:00Z","modified":"2026-06-17T01:37:55Z","exploits":[{"source":"pocgithub","id":"LucasKatashi/paint2die","title":"LucasKatashi/paint2die","date":"2025-11-24","url":"https://github.com/LucasKatashi/paint2die"},{"source":"pocgithub","id":"Pastea/CVE-2018-12533","title":"Pastea/CVE-2018-12533","date":"2021-11-08","url":"https://github.com/Pastea/CVE-2018-12533"},{"source":"pocgithub","id":"arslanben/richfaces-paint2d-lab","title":"arslanben/richfaces-paint2d-lab","date":"2026-10-01","url":"https://github.com/arslanben/richfaces-paint2d-lab"},{"source":"pocgithub","id":"llamaonsecurity/CVE-2018-12533","title":"llamaonsecurity/CVE-2018-12533","date":"2018-12-15","url":"https://github.com/llamaonsecurity/CVE-2018-12533"},{"source":"pocgithub","id":"mhagnumdw/richfaces-vulnerability-cve-2018-12533-rf-14310","title":"mhagnumdw/richfaces-vulnerability-cve-2018-12533-rf-14310","date":"2025-04-22","url":"https://github.com/mhagnumdw/richfaces-vulnerability-cve-2018-12533-rf-14310"}],"fixes":[{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces","fixed_in":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-cdk","fixed_in":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-demo","fixed_in":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-docs","fixed_in":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-framework","fixed_in":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-root","fixed_in":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-ui","fixed_in":["0:3.3.1-7.SP3_patch_02.ep5.el5"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces","fixed_in":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-demo","fixed_in":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-framework","fixed_in":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-root","fixed_in":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"sources":["osv"]},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-ui","fixed_in":["0:3.3.1-4.SP3_patch_02.ep5.el6_10"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.richfaces:richfaces-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"last_affected":"3.3.4"}]}]},{"source":"osv","ecosystem":"Maven","package":"org.richfaces:richfaces-core","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"last_affected":"3.3.4"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-7.SP3_patch_02.ep5.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-cdk","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-7.SP3_patch_02.ep5.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-demo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-7.SP3_patch_02.ep5.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-docs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-7.SP3_patch_02.ep5.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-7.SP3_patch_02.ep5.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-root","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-7.SP3_patch_02.ep5.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","package":"richfaces-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-7.SP3_patch_02.ep5.el5"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-4.SP3_patch_02.ep5.el6_10"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-demo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-4.SP3_patch_02.ep5.el6_10"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-4.SP3_patch_02.ep5.el6_10"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-root","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-4.SP3_patch_02.ep5.el6_10"}]}]},{"source":"osv","ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","package":"richfaces-ui","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0:3.3.1-4.SP3_patch_02.ep5.el6_10"}]}]}],"products":[{"vendor":"redhat","product":"richfaces"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2018:2664","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","web","advisory"]},{"url":"http://www.securitytracker.com/id/1041617","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://codewhitesec.blogspot.com/2018/05/poor-richfaces.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web","article"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2663","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","web"]},{"url":"http://www.securityfocus.com/bid/104502","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2018:2930","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2020/Mar/21","tags":["mailing-list","x_refsource_FULLDISC","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-12533","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4j38-wjhf-884r"},{"url":"https://access.redhat.com/security/updates/classification/#critical","tags":["article"]},{"url":"https://access.redhat.com/documentation/en-us/red_hat_jboss_enterprise_application_platform/5/","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1584490","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2018/rhsa-2018_2664.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2018-12533","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-12533","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2018-12533","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.","status":"published","published":"2018-06-18T12:00:00Z","modified":"2024-08-05T08:38:06.257Z","updated_at":"2026-11-02T14:35:06.679212Z"}],"euvd":[{"id":"EUVD-2022-2391","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.","status":"published","published":"2018-06-18T12:00:00Z","modified":"2024-08-05T08:38:06Z","updated_at":"2026-11-03T02:39:52.08472Z"}],"ghsa":[{"id":"GHSA-4j38-wjhf-884r","title":"Arbitrary code execution in Richfaces","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.","status":"published","published":"2022-05-13T01:19:02Z","modified":"2023-01-29T05:03:43Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-917"],"updated_at":"2026-11-02T14:36:25.835323Z"}],"nvd":[{"id":"CVE-2018-12533","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.","status":"published","published":"2018-06-18T12:29:00.28Z","modified":"2026-06-17T01:37:55.36Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-917"],"updated_at":"2026-11-02T14:04:29.837913Z"}],"osv":[{"id":"GHSA-4j38-wjhf-884r","title":"Arbitrary code execution in Richfaces","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.","status":"published","published":"2022-05-13T01:19:02Z","modified":"2023-11-08T03:59:49.668792Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-917"],"updated_at":"2026-11-02T15:46:37.148947Z"},{"id":"RHSA-2018:2664","title":"Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 5.2 security update","status":"published","published":"2024-09-16T01:40:33Z","modified":"2026-01-14T11:01:54.27368Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:53:05.383061Z"}]}}
