{"answers":{"affected":"2 open source packages ship an affected version, including org.jboss.as:jboss-as-server. It affects 1 product.","exploited":"There is no known exploitation of CVE-2012-1094 in the wild and no public exploit code.","fix":"Upgrade org.jboss.as:jboss-as-server to 7.1.1.Final or later.","what":"CVE-2012-1094 is a high-severity vulnerability in JBoss AS 7, published on 10 Mar 2020. 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-1094 and fix it if it is affected.\n\nWhat it is: CVE-2012-1094 is a high-severity vulnerability in JBoss AS 7, published on 10 Mar 2020. 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-1094 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jboss.as:jboss-as-server (Maven): affected from 7.0.0.Alpha1; fixed in 7.1.1.Final\n- org.jboss.as:jboss-as-server (Maven): affected from 7.0.0.Alpha1; fixed in 7.1.1.Final\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-1094/ (Markdown: https://insights.sbomify.com/CVE-2012-1094/index.md)","id":"CVE-2012-1094","markdown":"https://insights.sbomify.com/CVE-2012-1094/index.md","name":"CVE-2012-1094","record":{"aliases":["GHSA-wq8g-hm94-5rqq"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"JBoss Application Server","requires_auth":"none","summary":"Attackers can access the root context due to hostname handling mismatches, leading to information disclosure in JBoss AS 7.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"jboss_application_server","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"JBoss AS 7 prior to 7.1.1 and mod_cluster do not handle default hostname in the same way, which can cause the excluded-contexts list to be mismatched and the root context to be exposed.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"JBoss AS may expose root content if excluded-contexts list is mismatched","id":"CVE-2012-1094","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2012"},"n_packages":2,"n_references":2,"next":{"headline":"Command injection in n/a","id":"CVE-2012-1095"},"packages":[{"ecosystem":"Maven","fixed":["7.1.1.Final"],"introduced":["7.0.0.Alpha1"],"last_affected":[],"package":"org.jboss.as:jboss-as-server","purl":null,"source":"GHSA-wq8g-hm94-5rqq"},{"ecosystem":"Maven","fixed":["7.1.1.Final"],"introduced":["7.0.0.Alpha1"],"last_affected":[],"package":"org.jboss.as:jboss-as-server","purl":"pkg:maven/org.jboss.as/jboss-as-server","source":"GHSA-wq8g-hm94-5rqq"}],"prev":{"headline":"Path traversal in x11-common","id":"CVE-2012-1093"},"products":["JBoss AS 7"],"published":"2020-03-10","related":[{"cvss_score":7.8,"headline":"Privilege escalation in JBoss","id":"CVE-2012-2312","kev_date_added":null,"published":"2019-12-18"},{"cvss_score":6.6,"headline":"Information disclosure in n/a","id":"CVE-2013-3734","kev_date_added":null,"published":"2017-10-24"},{"cvss_score":6.5,"headline":"Cross-site request forgery in JBoss Application Server","id":"CVE-2011-3609","kev_date_added":null,"published":"2019-11-26"},{"cvss_score":5.4,"headline":"Cross-site scripting in JBoss Application Server","id":"CVE-2011-3606","kev_date_added":null,"published":"2019-11-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":"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)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-06","vendors":["n/a"]},"summary":"Attackers can access the root context due to hostname handling mismatches, leading to information disclosure in JBoss AS 7.","url":"https://insights.sbomify.com/CVE-2012-1094/"}