{"answers":{"affected":"It affects 1 product.","exploited":"Yes. Attackers have exploited CVE-2017-12149 in the wild since at least 10 Dec 2021, including in ransomware campaigns.","fix":"Apply the vendor's patch. US federal agencies must fix it by 10 Jun 2022.","what":"CVE-2017-12149 is a critical unsafe deserialization vulnerability in Redhat Jboss Enterprise Application Platform, published on 4 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-12149 and fix it if it is affected.\n\nWhat it is: CVE-2017-12149 is a critical unsafe deserialization vulnerability in Redhat Jboss Enterprise Application Platform, published on 4 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: Yes. Attackers have exploited CVE-2017-12149 in the wild since at least 10 Dec 2021, including in ransomware campaigns.\n\nAffected product: Redhat Jboss Enterprise Application Platform. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-2017-12149/ (Markdown: https://insights.sbomify.com/CVE-2017-12149/index.md)","id":"CVE-2017-12149","markdown":"https://insights.sbomify.com/CVE-2017-12149/index.md","name":"CVE-2017-12149","record":{"aliases":["GHSA-j5r3-wq62-8gp5","RHSA-2018:1607"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JBoss Application Server","requires_auth":"none","summary":"Attackers can execute arbitrary code on JBoss Application Server by sending crafted serialized data to the HTTP Invoker.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"jboss_enterprise_application_platform","vendor":"redhat"}],"cvss":{"score":9.8,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"In Jboss Application Server as shipped with Red Hat Enterprise Application Platform 5.2, it was found that the doFilter method in the ReadOnlyAccessFilter of the HTTP Invoker does not restrict classes for which it performs deserialization and thus allowing an attacker to execute arbitrary code via crafted serialized data.","ecosystems":["Red Hat:jboss_enterprise_application_platform:5::el5","Red Hat:jboss_enterprise_application_platform:5::el6"],"exploits":{"exploitdb":0,"first_seen":"2017-11-21","github_poc":11,"max_poc_stars":210,"metasploit":1,"nuclei":1,"refs":[{"date":"2017-11-28T02:52:47Z","kind":"github_poc","ref":"https://github.com/yunxu1/jboss-_CVE-2017-12149","stars":210,"title":"CVE-2017-12149 jboss反序列化 可回显"},{"date":"2017-11-21T10:48:24Z","kind":"github_poc","ref":"https://github.com/sevck/CVE-2017-12149","stars":22,"title":"CVE-2017-12149 JBOSS as 6.X反序列化(反弹shell版)"},{"date":"2017-12-22T07:30:29Z","kind":"github_poc","ref":"https://github.com/1337g/CVE-2017-12149","stars":16,"title":"CVE-2017-12149 JBOSS RCE (TESTED) "},{"date":"2019-08-22T21:06:09Z","kind":"github_poc","ref":"https://github.com/jreppiks/CVE-2017-12149","stars":14,"title":"Jboss Java Deserialization RCE (CVE-2017-12149)"},{"date":"2021-05-30T20:26:51Z","kind":"github_poc","ref":"https://github.com/Xcatolin/jboss-deserialization","stars":0,"title":"JBoss CVE-2017-12149 (Insecure Deserialization - RCE) Exploitation Lab."},{"date":"2022-04-14T13:24:51Z","kind":"github_poc","ref":"https://github.com/VVeakee/CVE-2017-12149","stars":0,"title":null},{"date":"2023-08-06T12:11:43Z","kind":"github_poc","ref":"https://github.com/MrE-Fog/jboss-_CVE-2017-12149","stars":0,"title":null},{"date":"2024-04-30T18:40:48Z","kind":"github_poc","ref":"https://github.com/JesseClarkND/CVE-2017-12149","stars":0,"title":"Update of https://github.com/1337g/CVE-2017-12149 to work with python3"}],"tier":"exploited"},"has_fix":true,"headline":"Red Hat JBoss Application Server Remote Code Execution","id":"CVE-2017-12149","indexable":true,"kev":{"dateAdded":"2021-12-10","dueDate":"2022-06-10","knownRansomwareCampaignUse":"Known","product":"JBoss Application Server","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Red Hat","vulnerabilityName":"Red Hat JBoss Application Server Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":null,"product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform"],"type":"deserialization","year":"2017"},"n_packages":8,"n_references":5,"next":{"headline":"Security feature bypass in samba","id":"CVE-2017-12150"},"packages":[{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:5.2.0-24.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"jbossas","purl":"pkg:rpm/redhat/jbossas","source":"RHSA-2018:1607"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:5.2.0-24.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"jbossas-client","purl":"pkg:rpm/redhat/jbossas-client","source":"RHSA-2018:1607"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:5.2.0-24.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"jbossas-messaging","purl":"pkg:rpm/redhat/jbossas-messaging","source":"RHSA-2018:1607"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el5","fixed":["0:5.2.0-24.ep5.el5"],"introduced":["0"],"last_affected":[],"package":"jbossas-ws-native","purl":"pkg:rpm/redhat/jbossas-ws-native","source":"RHSA-2018:1607"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:5.2.0-24.ep5.el6"],"introduced":["0"],"last_affected":[],"package":"jbossas","purl":"pkg:rpm/redhat/jbossas","source":"RHSA-2018:1607"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:5.2.0-24.ep5.el6"],"introduced":["0"],"last_affected":[],"package":"jbossas-client","purl":"pkg:rpm/redhat/jbossas-client","source":"RHSA-2018:1607"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:5.2.0-24.ep5.el6"],"introduced":["0"],"last_affected":[],"package":"jbossas-messaging","purl":"pkg:rpm/redhat/jbossas-messaging","source":"RHSA-2018:1607"},{"ecosystem":"Red Hat:jboss_enterprise_application_platform:5::el6","fixed":["0:5.2.0-24.ep5.el6"],"introduced":["0"],"last_affected":[],"package":"jbossas-ws-native","purl":"pkg:rpm/redhat/jbossas-ws-native","source":"RHSA-2018:1607"}],"prev":{"headline":"Code injection in Ansible Tower","id":"CVE-2017-12148"},"products":["jbossas"],"published":"2017-10-04","related":[{"cvss_score":5.9,"headline":"Red Hat JBoss Information Disclosure","id":"CVE-2010-1428","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":3.7,"headline":"Red Hat JBoss Authentication Bypass","id":"CVE-2010-0738","kev_date_added":"2022-05-25","published":"2010-04-28"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-3690","kev_date_added":null,"published":"2017-06-08"},{"cvss_score":9.8,"headline":"Deserialization in JBoss","id":"CVE-2017-7504","kev_date_added":null,"published":"2017-05-19"},{"cvss_score":9.8,"headline":"XML external entity in JBoss Enterprise Application Platform","id":"CVE-2017-7503","kev_date_added":null,"published":"2017-05-18"},{"cvss_score":9.8,"headline":"Improper Input Validation in JGroups","id":"CVE-2016-2141","kev_date_added":null,"published":"2016-06-30"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"open","licence":"CC0 1.0","name":"CISA KEV"},{"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":"yes","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-10-07","vendors":["Red Hat, Inc."]},"summary":"Attackers can execute arbitrary code on JBoss Application Server by sending crafted serialized data to the HTTP Invoker.","url":"https://insights.sbomify.com/CVE-2017-12149/"}