{"answers":{"affected":"It affects 3 products.","exploited":"There is no known exploitation of CVE-2012-0874 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-0874 is a medium-severity authentication bypass vulnerability in Redhat Jboss Enterprise Application Platform, published on 5 Feb 2013. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2012-0874 and fix it if it is affected.\n\nWhat it is: CVE-2012-0874 is a medium-severity authentication bypass vulnerability in Redhat Jboss Enterprise Application Platform, published on 5 Feb 2013. 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-2012-0874 in the wild and no public exploit code.\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-2012-0874/ (Markdown: https://insights.sbomify.com/CVE-2012-0874/index.md)","id":"CVE-2012-0874","markdown":"https://insights.sbomify.com/CVE-2012-0874/index.md","name":"CVE-2012-0874","record":{"aliases":["GHSA-cjrh-9rp2-h6f2"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"JBoss Application Platform","requires_auth":"none","summary":"Remote attackers can execute arbitrary code by invoking MBean methods if JBoss invoker servlets lack proper secondary authentication configuration.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_enterprise_brms_platform","vendor":"redhat"},{"product":"jboss_enterprise_web_platform","vendor":"redhat"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"description":"The (1) JMXInvokerHAServlet and (2) EJBInvokerHAServlet invoker servlets in JBoss Enterprise Application Platform (EAP) before 5.2.0, Web Platform (EWP) before 5.2.0, BRMS Platform before 5.3.1, and SOA Platform before 5.3.1 do not require authentication by default in certain profiles, which might allow remote attackers to invoke MBean methods and execute arbitrary code via unspecified vectors.  NOTE: this issue can only be exploited when the interceptor is not properly configured with a \"second layer of authentication,\" or when used in conjunction with other vulnerabilities that bypass this second layer.","ecosystems":[],"exploits":{"exploitdb":1,"first_seen":"2013-12-11","github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[{"date":"2013-12-11","kind":"exploitdb","ref":"30211","stars":null,"title":"EMC Data Protection Advisor DPA Illuminator - EJBInvokerServlet Remote Code Execution"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Auth bypass in n/a","id":"CVE-2012-0874","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:jboss_enterprise_application_platform","products":["redhat:jboss_enterprise_application_platform"],"type":"auth_bypass","year":"2012"},"n_packages":0,"n_references":18,"next":{"headline":"Information disclosure in n/a","id":"CVE-2012-0875"},"packages":[],"prev":{"headline":"Cross-site scripting in n/a","id":"CVE-2012-0873"},"products":["n/a"],"published":"2013-02-05","related":[{"cvss_score":9.8,"headline":"Red Hat JBoss Application Server Remote Code Execution","id":"CVE-2017-12149","kev_date_added":"2021-12-10","published":"2017-10-04"},{"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":"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":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code by invoking MBean methods if JBoss invoker servlets lack proper secondary authentication configuration.","url":"https://insights.sbomify.com/CVE-2012-0874/"}