{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2019-25782","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-11-11T16:45:16.705Z","datePublished":"2026-11-18T15:35:18.909Z","dateUpdated":"2026-11-18T17:48:13.011Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-11-18T15:35:18.909Z"},"datePublic":"2019-01-11T00:00:00.000Z","title":"ThinkPHP 5.0.0 < 5.0.24 RCE via _method construct in Request.php","descriptions":[{"lang":"en","value":"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."}],"tags":["unsupported-when-assigned","x_known-exploited-vulnerability"],"problemTypes":[{"descriptions":[{"lang":"en","description":"Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')","cweId":"CWE-470","type":"CWE"}]}],"affected":[{"defaultStatus":"unaffected","vendor":"TopThink","product":"ThinkPHP","versions":[{"status":"affected","versionType":"custom","version":"5.0.0","lessThan":"5.0.24"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:thinkphp:thinkphp:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.0.24"}]}]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"CRITICAL","baseScore":9.3,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"CRITICAL","baseScore":9.8,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"references":[{"url":"https://github.com/top-think/framework/commit/4a4b5e64fa4c46f851b4004005bff5f3196de003","name":"Fix Commit","tags":["patch"]},{"url":"https://github.com/vulhub/vulhub/tree/master/thinkphp/5.0.23-rce","name":"Vulhub Exploit","tags":["technical-description","exploit"]},{"url":"https://www.exploit-db.com/exploits/46150","name":"EDB-46150","tags":["exploit"]},{"url":"https://packetstorm.news/files/id/157218/","name":"Packet Storm 157218","tags":["exploit"]},{"url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/thinkphp/thinkphp-5023-rce.yaml","name":"Nuclei Template","tags":["technical-description"]},{"name":"VulnCheck Advisory: 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.23-rce-via-method-construct-in-request-php"},{"name":"VulnCheck Advisory: ThinkPHP 5.0.0 < 5.0.24 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"}],"credits":[{"lang":"en","value":"The Shadowserver Foundation","type":"reporter"}],"x_generator":{"engine":"vulncheck-kclub"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-18T17:40:34.440486Z","id":"CVE-2019-25782","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-11-18T17:48:13.011Z"}}]}}