{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-25782","id":"CVE-2019-25782","title":"ThinkPHP command execution in Request filter handling","description":"ThinkPHP 5.0.0 before 5.0.24 contains a code injection vulnerability that allows unauthenticated attackers to execute commands by setting _method=__construct in POST data to overwrite the Request filter property. Attackers can send POST requests to endpoints reached via ?s=captcha or ?s=index/index/index with filter[]=system and server[REQUEST_METHOD] values to execute arbitrary system commands. E","descriptionLong":"ThinkPHP 5.0.0 before 5.0.24 contains a code injection vulnerability that allows unauthenticated attackers to execute commands by setting _method=__construct in POST data to overwrite the Request filter property. Attackers can send POST requests to endpoints reached via ?s=captcha or ?s=index/index/index with filter[]=system and server[REQUEST_METHOD] values to execute arbitrary system commands. Exploitation evidence was first observed by the Shadowserver Foundation on 2023-10-14.","published":"2026-11-18T15:35:18.909Z","updated":"2026-11-18T18:17:32.423Z","reserved":"2026-11-11T16:45:16.705Z","status":"Received","rejected":false,"assigner":"VulnCheck","metric":{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"VulnCheck"},"metrics":[{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"critical","source":"VulnCheck"},{"version":"4.0","score":9.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"vulncheck.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"VulnCheck"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"vulncheck.com"}],"rating":"critical","products":["TopThink ThinkPHP"],"affectedProducts":[{"vendor":"TopThink","product":"ThinkPHP","defaultStatus":"unaffected","versions":[{"status":"affected","versionType":"custom","version":"5.0.0","lessThan":"5.0.24"}],"platforms":[]}],"packages":[],"cwes":["CWE-470"],"aliases":[],"references":[{"url":"https://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003","tags":["patch"]},{"url":"https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce","tags":["technical-description","exploit"]},{"url":"https://www.exploit-db.com/exploits/46150","tags":["exploit"]},{"url":"https://packetstorm.news/files/id/157218/","tags":["exploit"]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.23-rce-via-method-construct-in-request-php","tags":["third-party-advisory"]},{"url":"https://www.vulncheck.com/advisories/thinkphp-5.0.0-5.0.24-rce-via-method-construct-in-request-php","tags":["third-party-advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":null,"epssPercentile":null,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-25782","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25782","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-25782","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-25782","ok":false,"note":"no score yet"}],"aiTitle":true,"tech":[],"critical":[],"attention":"Public exploit referenced within two weeks of publication"}