{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.jmeter:ApacheJMeter. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-1297 in the wild and no public exploit code.","fix":"Upgrade org.apache.jmeter:ApacheJMeter to 4.0 or later.","what":"CVE-2018-1297 is a critical code injection vulnerability in Apache JMeter, published on 13 Feb 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-1297 and fix it if it is affected.\n\nWhat it is: CVE-2018-1297 is a critical code injection vulnerability in Apache JMeter, published on 13 Feb 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-1297 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.jmeter:ApacheJMeter (Maven): affected all versions; fixed in 4.0\n- org.apache.jmeter:ApacheJMeter (Maven): affected all versions; fixed in 4.0\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-1297/ (Markdown: https://insights.sbomify.com/CVE-2018-1297/index.md)","id":"CVE-2018-1297","markdown":"https://insights.sbomify.com/CVE-2018-1297/index.md","name":"CVE-2018-1297","record":{"aliases":["DEBIAN-CVE-2018-1297","GHSA-7v85-6hv2-rwgw","UBUNTU-CVE-2018-1297"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache JMeter","requires_auth":"none","summary":"Attackers can execute unauthorized code via unsecured RMI connections in Apache JMeter when using Distributed Test mode.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"jmeter","vendor":"apache"}],"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-319","name":"Cleartext Transmission of Sensitive Information"}],"description":"When using Distributed Test only (RMI based), Apache JMeter 2.x and 3.x uses an unsecured RMI connection. This could allow an attacker to get Access to JMeterEngine and send unauthorized code.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2020-07-16","github_poc":3,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-07-16T06:20:01Z","kind":"github_poc","ref":"https://github.com/Al1ex/CVE-2018-1297","stars":0,"title":"EXP for CVE-2018-1297"},{"date":"2023-10-30T20:41:55Z","kind":"github_poc","ref":"https://github.com/48484848484848/Jmeter-CVE-2018-1297-","stars":0,"title":null},{"date":"2026-10-08T21:44:50Z","kind":"github_poc","ref":"https://github.com/CyberCTF/vulhub-jmeter-cve-2018-1297","stars":0,"title":"Vulhub jmeter/CVE-2018-1297: Apache JMeter RMI Deserialization RCE (CVE-2018-1297), run with Isoloom"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Missing certificate validation in Apache JMeter","id":"CVE-2018-1297","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"code_injection","year":"2018"},"n_packages":2,"n_references":3,"next":{"headline":"Moderate severity vulnerability that affects org.apache.qpid:apache-qpid-broker-j","id":"CVE-2018-1298"},"packages":[{"ecosystem":"Maven","fixed":["4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.jmeter:ApacheJMeter","purl":null,"source":"GHSA-7v85-6hv2-rwgw"},{"ecosystem":"Maven","fixed":["4.0"],"introduced":["0"],"last_affected":[],"package":"org.apache.jmeter:ApacheJMeter","purl":"pkg:maven/org.apache.jmeter/ApacheJMeter","source":"GHSA-7v85-6hv2-rwgw"}],"prev":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in Hadoop","id":"CVE-2018-1296"},"products":["Apache JMeter"],"published":"2018-02-13","related":[{"cvss_score":9.8,"headline":"Unauthenticated Remote Code Execution in Apache JMeter","id":"CVE-2019-0187","kev_date_added":null,"published":"2019-03-06"},{"cvss_score":9.8,"headline":"Missing certificate validation in Apache JMeter","id":"CVE-2018-1287","kev_date_added":null,"published":"2018-02-14"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-09-17","vendors":["Apache Software Foundation"]},"summary":"Attackers can execute unauthorized code via unsecured RMI connections in Apache JMeter when using Distributed Test mode.","url":"https://insights.sbomify.com/CVE-2018-1297/"}