{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.tomcat.embed:tomcat-embed-core. It affects 22 products.","exploited":"Yes. Attackers have exploited CVE-2017-12615 in the wild since at least 25 Mar 2022, including in ransomware campaigns.","fix":"Upgrade org.apache.tomcat.embed:tomcat-embed-core to 7.0.79 or later. US federal agencies must fix it by 15 Apr 2022.","what":"CVE-2017-12615 is a high-severity vulnerability in Apache Tomcat, published on 19 Sep 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-12615 and fix it if it is affected.\n\nWhat it is: CVE-2017-12615 is a high-severity vulnerability in Apache Tomcat, published on 19 Sep 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-12615 in the wild since at least 25 Mar 2022, including in ransomware campaigns.\n\nAffected packages and fixed versions:\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 7.0.0; fixed in 7.0.79\n- org.apache.tomcat.embed:tomcat-embed-core (Maven): affected from 7.0.0; fixed in 7.0.79\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-12615/ (Markdown: https://insights.sbomify.com/CVE-2017-12615/index.md)","id":"CVE-2017-12615","markdown":"https://insights.sbomify.com/CVE-2017-12615/index.md","name":"CVE-2017-12615","record":{"aliases":["GHSA-pjfr-qf3p-3q25"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":true,"product_category":"Apache Tomcat","requires_auth":"none","summary":"Attackers can upload and execute malicious JSP files on Windows Tomcat servers if HTTP PUT is enabled, leading to remote code execution.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"tomcat","vendor":"apache"},{"product":"7-mode_transition_tool","vendor":"netapp"},{"product":"oncommand_balance","vendor":"netapp"},{"product":"oncommand_shift","vendor":"netapp"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_eus_compute_node","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_big_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_big_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_for_scientific_computing","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_server_update_services_for_sap_solutions","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"jboss_enterprise_web_server","vendor":"redhat"},{"product":"jboss_enterprise_web_server_text-only_advisories","vendor":"redhat"}],"cvss":{"score":8.1,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"When running Apache Tomcat 7.0.0 to 7.0.79 on Windows with HTTP PUTs enabled (e.g. via setting the readonly initialisation parameter of the Default to false) it was possible to upload a JSP file to the server via a specially crafted request. This JSP could then be requested and any code it contained would be executed by the server.","ecosystems":["Maven"],"exploits":{"exploitdb":1,"first_seen":"2017-09-20","github_poc":19,"max_poc_stars":296,"metasploit":0,"nuclei":1,"refs":[{"date":"2024-08-29T06:38:16Z","kind":"github_poc","ref":"https://github.com/lizhianyuguangming/TomcatScanPro","stars":296,"title":"tomcat自动化漏洞扫描利用工具，支持批量弱口令检测、后台部署war包getshell、CVE-2017-12615 文件上传、CVE-2020-1938/CNVD-2020-10487 文件包含"},{"date":"2022-11-13T11:01:41Z","kind":"github_poc","ref":"https://github.com/tpt11fb/AttackTomcat","stars":258,"title":"Tomcat常见漏洞GUI利用工具。CVE-2017-12615 PUT文件上传漏洞、tomcat-pass-getshell 弱认证部署war包、弱口令爆破、CVE-2020-1938 Tomcat AJP文件读取/包含"},{"date":"2017-09-23T06:15:48Z","kind":"github_poc","ref":"https://github.com/breaktoprotect/CVE-2017-12615","stars":112,"title":"POC Exploit for Apache Tomcat 7.0.x CVE-2017-12615 PUT JSP vulnerability."},{"date":"2023-03-10T16:26:45Z","kind":"github_poc","ref":"https://github.com/xiaokp7/Tomcat_PUT_GUI_EXP","stars":11,"title":"Tomcat PUT方法任意文件写入（CVE-2017-12615）exp"},{"date":"2017-09-25T11:53:02Z","kind":"github_poc","ref":"https://github.com/mefulton/cve-2017-12615","stars":10,"title":"just a python script for cve-2017-12615"},{"date":"2017-10-06T22:04:23Z","kind":"github_poc","ref":"https://github.com/zi0Black/POC-CVE-2017-12615-or-CVE-2017-12717","stars":6,"title":"CVE-2017-12617 and CVE-2017-12615 for tomcat server"},{"date":"2017-12-26T03:48:14Z","kind":"github_poc","ref":"https://github.com/1337g/CVE-2017-12615","stars":4,"title":"CVE-2017-12615 Tomcat RCE (TESTED)"},{"date":"2017-11-01T16:05:32Z","kind":"github_poc","ref":"https://github.com/wsg00d/cve-2017-12615","stars":3,"title":"tomcat-put-cve-2017-12615"}],"tier":"exploited"},"has_fix":true,"headline":"Apache Tomcat on Windows Remote Code Execution","id":"CVE-2017-12615","indexable":true,"kev":{"dateAdded":"2022-03-25","dueDate":"2022-04-15","knownRansomwareCampaignUse":"Known","product":"Tomcat","requiredAction":"Apply updates per vendor instructions.","vendorProject":"Apache","vulnerabilityName":"Apache Tomcat on Windows Remote Code Execution Vulnerability"},"kind":"cve","links":{"ecosystem":"Maven","product":"apache:tomcat","products":["apache:tomcat","netapp:7-mode_transition_tool","netapp:oncommand_balance","netapp:oncommand_shift","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_for_scientific_computing","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation"],"type":"file_upload","year":"2017"},"n_packages":2,"n_references":19,"next":{"headline":"Exposure of Sensitive Information to an Unauthorized Actor in Apache Tomcat","id":"CVE-2017-12616"},"packages":[{"ecosystem":"Maven","fixed":["7.0.79"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":null,"source":"GHSA-pjfr-qf3p-3q25"},{"ecosystem":"Maven","fixed":["7.0.79"],"introduced":["7.0.0"],"last_affected":[],"package":"org.apache.tomcat.embed:tomcat-embed-core","purl":"pkg:maven/org.apache.tomcat.embed/tomcat-embed-core","source":"GHSA-pjfr-qf3p-3q25"}],"prev":{"headline":"Apache Airflow Reflected Cross-site Scripting vulnerability in 404 Endpoint","id":"CVE-2017-12614"},"products":["Apache Tomcat"],"published":"2017-09-19","related":[{"cvss_score":10,"headline":"Apache Tomcat Path Equivalence","id":"CVE-2025-24813","kev_date_added":"2025-04-01","published":"2025-03-10"},{"cvss_score":9.8,"headline":"Apache Tomcat Remote Code Execution","id":"CVE-2016-8735","kev_date_added":"2023-05-12","published":"2017-04-06"},{"cvss_score":8.1,"headline":"Apache Tomcat Remote Code Execution","id":"CVE-2017-12617","kev_date_added":"2022-03-25","published":"2017-10-03"},{"cvss_score":7.5,"headline":"Apache Tomcat Missing Encryption of Sensitive Data","id":"CVE-2026-34486","kev_date_added":"2026-08-04","published":"2026-04-09"},{"cvss_score":9.8,"headline":"Apache Tomcat: HTTP/2 no-authority bypass of strict SNI validation - CVE-2026-32990 fix incomplete","id":"CVE-2026-65637","kev_date_added":null,"published":"2026-08-25"},{"cvss_score":9.8,"headline":"Apache Tomcat: Limited replay attack possible with DIGEST authentication","id":"CVE-2026-65905","kev_date_added":null,"published":"2026-08-25"}],"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":"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":"no","exploitation":"active","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-06","vendors":["Apache Software Foundation"]},"summary":"Attackers can upload and execute malicious JSP files on Windows Tomcat servers if HTTP PUT is enabled, leading to remote code execution.","url":"https://insights.sbomify.com/CVE-2017-12615/"}