Vulnerability record · CVE-2022-47945 · published 23 December 2022
CVE-2022-47945: Thinkphp path traversal vulnerability
Thinkphp · Thinkphp
ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demonstrated by including pearcmd.php.
Description
ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_on=true). An unauthenticated and remote attacker can exploit this to execute arbitrary operating system commands, as demonstrated by including pearcmd.php.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099 | PatchThird Party Advisory |
| https://github.com/top-think/framework/compare/v6.0.13...v6.0.14 | PatchThird Party Advisory |
| https://tttang.com/archive/1865/ | ExploitThird Party Advisory |
| https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099 | PatchThird Party Advisory |
| https://github.com/top-think/framework/compare/v6.0.13...v6.0.14 | PatchThird Party Advisory |
| https://tttang.com/archive/1865/ | ExploitThird Party Advisory |
Track CVE-2022-47945 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2022-47945), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.