{"id":"CVE-2019-9082","published":"2019-02-24T18:29:00Z","modified":"2026-06-17T02:43:02Z","title":"ThinkPHP Remote Code Execution Vulnerability","vendor":"ThinkPHP","product":"ThinkPHP","tier":"core","eol":null,"description":{"text":"ThinkPHP before 3.2.4, as used in Open Source BMS v1.1.1 and other products, allows Remote Command Execution via public//?s=index/\\think\\app/invokefunction&function=call_user_func_array&vars[0]=system&vars[1][]= followed by the command.","provenance":"source","from":"NVD"},"summary":{"text":"ThinkPHP versions before 3.2.4 (including as bundled in Open Source BMS v1.1.1 and other products) contain a flaw in the framework's request handling that permits remote command execution. An attacker with network access can exploit it without authentication or user interaction by sending a crafted request to the index route with function-invocation parameters, followed by the command to run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-31T04:54:10Z"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.97419,"percentile":0.99899,"date":"2026-10-30","provenance":"source"},"kev":{"dateAdded":"2021-11-03","dueDate":"2022-05-03","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2019-9082","provenance":"source"},"vulncheckKev":{"dateAdded":"2019-01-13","exploitedFirstSeen":"2019-01-13","ransomware":false,"evidence":[{"url":"https://www.alibabacloud.com/blog/threat-alert-multiple-cryptocurrency-miner-botnets-start-to-exploit-the-new-thinkphp-vulnerability_594369","date":"2019-01-13"},{"url":"https://unit42.paloaltonetworks.com/network-attack-trends-winter-2020/","date":"2021-04-12"},{"url":"https://go.catonetworks.com/rs/245-RJK-441/images/Security%20Quarterly%20Report.pdf","date":"2021-06-02"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2021-11-03"},{"url":"https://decoded.avast.io/martinchlumecky/dirtymoe-5/","date":"2022-03-16"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-18&host_type=src&vulnerability=cve-2019-9082","date":"2023-11-18"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2023-11-29&host_type=src&vulnerability=cve-2019-9082","date":"2023-11-29"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-03&host_type=src&vulnerability=cve-2019-9082","date":"2024-01-03"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-17&host_type=src&vulnerability=cve-2019-9082","date":"2024-01-17"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?day=2024-01-27&host_type=src&vulnerability=cve-2019-9082","date":"2024-01-27"}],"evidenceTotal":75,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"}],"references":[{"url":"http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/xiayulei/open_source_bms/issues/33","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://github.com/xiayulei/open_source_bms/issues/33","tags":["Exploit","Issue Tracking","Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/46488/","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2019-9082","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Remote HTTP request to public-facing web application","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"allows Remote Command Execution via public//?s=index/","start":77,"end":130}],"model":"claude-haiku-5-5","confidence":"low","confidenceNote":"needs user interaction; not a public-facing exploit"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Command execution via system function invocation","mappingType":"primary_impact","evidence":[{"from":"description","quote":"allows Remote Command Execution via","start":77,"end":112}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-18467","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-18467","exploited":true,"exploitedSince":"2021-11-03","provenance":"source"},"exploits":[{"id":46488,"url":"https://www.exploit-db.com/exploits/46488","title":"zzzphp CMS 1.6.1 - Cross-Site Request Forgery","type":"webapps","platform":"php","date":"2019-03-04","verified":false,"provenance":"source"},{"id":48333,"url":"https://www.exploit-db.com/exploits/48333","title":"ThinkPHP - Multiple PHP Injection RCEs (Metasploit)","type":"remote","platform":"linux","date":"2020-04-16","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2019-03-04"},"metasploit":[{"name":"ThinkPHP Multiple PHP Injection RCEs","module":"exploit/unix/webapp/thinkphp_rce","type":"exploit","disclosureDate":"2018-12-10","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/thinkphp_rce.rb"}],"nuclei":[{"id":"CVE-2019-9082","name":"ThinkPHP < 3.2.4 - Remote Code Execution","severity":"high","path":"http/cves/2019/CVE-2019-9082.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2019/CVE-2019-9082.yaml"}],"first":{"date":"2018-12-10","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/thinkphp_rce.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/157218/ThinkPHP-5.0.23-Remote-Code-Execution.html","https://github.com/xiayulei/open_source_bms/issues/33","https://www.exploit-db.com/exploits/46488/"],"flow":[{"stage":"primary","techniques":["T1059"],"provenance":"ai"},{"stage":"related","techniques":["T1190"],"provenance":"ai","lowConfidence":true}],"timeline":[{"date":"2018-12-10","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2019-03-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/unix/webapp/thinkphp_rce.rb","provenance":"source"},{"date":"2019-01-13","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.alibabacloud.com/blog/threat-alert-multiple-cryptocurrency-miner-botnets-start-to-exploit-the-new-thinkphp-vulnerability_594369","provenance":"source"},{"date":"2019-02-24","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-9082","provenance":"source"},{"date":"2021-11-03","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2021-11-03","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-18467","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":983},"priority":{"score":69.1,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2848 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.98,"detail":"percentile 0.9990"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"3 NVD references tagged Exploit; 2 Exploit-DB entries; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.16,"detail":"base score 8.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}