CVE-2022-47945 ThinkPHP Framework vulnerable to remote code execution
CriticalCVSS 9.8
EPSS 30.2%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- 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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| thinkphp | < 6.0.14 | 6.0.14 | Fixed |
| topthink/framework(Packagist) | < 6.0.14; = 5.0; = 5.0-rc1; = 5.0-rc2 +97 more | 6.0.14 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| topthink/framework(Packagist) | < 6.0.14 | 6.0.14 |
| topthink/framework(Packagist) | = 5.0 | No fix listed |
| topthink/framework(Packagist) | = 5.0-rc1 | No fix listed |
| topthink/framework(Packagist) | = 5.0-rc2 | No fix listed |
| topthink/framework(Packagist) | = 5.0-rc3 | No fix listed |
| topthink/framework(Packagist) | = 5.0-rc4 | No fix listed |
| topthink/framework(Packagist) | = v5.0.1 | No fix listed |
| topthink/framework(Packagist) | = v5.0.10 | No fix listed |
| topthink/framework(Packagist) | = v5.0.11 | No fix listed |
| topthink/framework(Packagist) | = v5.0.12 | No fix listed |
| topthink/framework(Packagist) | = v5.0.13 | No fix listed |
| topthink/framework(Packagist) | = v5.0.14 | No fix listed |
| topthink/framework(Packagist) | = v5.0.15 | No fix listed |
| topthink/framework(Packagist) | = v5.0.16 | No fix listed |
| topthink/framework(Packagist) | = v5.0.17 | No fix listed |
| topthink/framework(Packagist) | = v5.0.18 | No fix listed |
| topthink/framework(Packagist) | = v5.0.19 | No fix listed |
| topthink/framework(Packagist) | = v5.0.2 | No fix listed |
| topthink/framework(Packagist) | = v5.0.20 | No fix listed |
| topthink/framework(Packagist) | = v5.0.21 | No fix listed |
| topthink/framework(Packagist) | = v5.0.22 | No fix listed |
| topthink/framework(Packagist) | = v5.0.23 | No fix listed |
| topthink/framework(Packagist) | = v5.0.24 | No fix listed |
| topthink/framework(Packagist) | = v5.0.25 | No fix listed |
| topthink/framework(Packagist) | = v5.0.3 | No fix listed |
Show 77 more
| Product | Affected versions | Fixed in |
|---|---|---|
| topthink/framework(Packagist) | = v5.0.4 | No fix listed |
| topthink/framework(Packagist) | = v5.0.5 | No fix listed |
| topthink/framework(Packagist) | = v5.0.6 | No fix listed |
| topthink/framework(Packagist) | = v5.0.7 | No fix listed |
| topthink/framework(Packagist) | = v5.0.8 | No fix listed |
| topthink/framework(Packagist) | = v5.0.9 | No fix listed |
| topthink/framework(Packagist) | = v5.1-beta.1 | No fix listed |
| topthink/framework(Packagist) | = v5.1-rc.1 | No fix listed |
| topthink/framework(Packagist) | = v5.1-rc.2 | No fix listed |
| topthink/framework(Packagist) | = v5.1-rc.3 | No fix listed |
| topthink/framework(Packagist) | = v5.1.0 | No fix listed |
| topthink/framework(Packagist) | = v5.1.1 | No fix listed |
| topthink/framework(Packagist) | = v5.1.10 | No fix listed |
| topthink/framework(Packagist) | = v5.1.11 | No fix listed |
| topthink/framework(Packagist) | = v5.1.12 | No fix listed |
| topthink/framework(Packagist) | = v5.1.13 | No fix listed |
| topthink/framework(Packagist) | = v5.1.14 | No fix listed |
| topthink/framework(Packagist) | = v5.1.15 | No fix listed |
| topthink/framework(Packagist) | = v5.1.16 | No fix listed |
| topthink/framework(Packagist) | = v5.1.17 | No fix listed |
| topthink/framework(Packagist) | = v5.1.18 | No fix listed |
| topthink/framework(Packagist) | = v5.1.19 | No fix listed |
| topthink/framework(Packagist) | = v5.1.2 | No fix listed |
| topthink/framework(Packagist) | = v5.1.20 | No fix listed |
| topthink/framework(Packagist) | = v5.1.21 | No fix listed |
| topthink/framework(Packagist) | = v5.1.22 | No fix listed |
| topthink/framework(Packagist) | = v5.1.23 | No fix listed |
| topthink/framework(Packagist) | = v5.1.24 | No fix listed |
| topthink/framework(Packagist) | = v5.1.25 | No fix listed |
| topthink/framework(Packagist) | = v5.1.26 | No fix listed |
| topthink/framework(Packagist) | = v5.1.27 | No fix listed |
| topthink/framework(Packagist) | = v5.1.28 | No fix listed |
| topthink/framework(Packagist) | = v5.1.29 | No fix listed |
| topthink/framework(Packagist) | = v5.1.3 | No fix listed |
| topthink/framework(Packagist) | = v5.1.30 | No fix listed |
| topthink/framework(Packagist) | = v5.1.31 | No fix listed |
| topthink/framework(Packagist) | = v5.1.32 | No fix listed |
| topthink/framework(Packagist) | = v5.1.33 | No fix listed |
| topthink/framework(Packagist) | = v5.1.34 | No fix listed |
| topthink/framework(Packagist) | = v5.1.35 | No fix listed |
| topthink/framework(Packagist) | = v5.1.36 | No fix listed |
| topthink/framework(Packagist) | = v5.1.37 | No fix listed |
| topthink/framework(Packagist) | = v5.1.37.1 | No fix listed |
| topthink/framework(Packagist) | = v5.1.38 | No fix listed |
| topthink/framework(Packagist) | = v5.1.38.1 | No fix listed |
| topthink/framework(Packagist) | = v5.1.39 | No fix listed |
| topthink/framework(Packagist) | = v5.1.4 | No fix listed |
| topthink/framework(Packagist) | = v5.1.40 | No fix listed |
| topthink/framework(Packagist) | = v5.1.41 | No fix listed |
| topthink/framework(Packagist) | = v5.1.42 | No fix listed |
| topthink/framework(Packagist) | = v5.1.5 | No fix listed |
| topthink/framework(Packagist) | = v5.1.6 | No fix listed |
| topthink/framework(Packagist) | = v5.1.7 | No fix listed |
| topthink/framework(Packagist) | = v5.1.8 | No fix listed |
| topthink/framework(Packagist) | = v5.1.9 | No fix listed |
| topthink/framework(Packagist) | = v5.2-beta.2 | No fix listed |
| topthink/framework(Packagist) | = v5.2-beta.3 | No fix listed |
| topthink/framework(Packagist) | = v5.2-rc1 | No fix listed |
| topthink/framework(Packagist) | = v6.0.0 | No fix listed |
| topthink/framework(Packagist) | = v6.0.0-rc2 | No fix listed |
| topthink/framework(Packagist) | = v6.0.0-rc3 | No fix listed |
| topthink/framework(Packagist) | = v6.0.0-rc4 | No fix listed |
| topthink/framework(Packagist) | = v6.0.0-rc5 | No fix listed |
| topthink/framework(Packagist) | = v6.0.1 | No fix listed |
| topthink/framework(Packagist) | = v6.0.10 | No fix listed |
| topthink/framework(Packagist) | = v6.0.11 | No fix listed |
| topthink/framework(Packagist) | = v6.0.12 | No fix listed |
| topthink/framework(Packagist) | = v6.0.13 | No fix listed |
| topthink/framework(Packagist) | = v6.0.2 | No fix listed |
| topthink/framework(Packagist) | = v6.0.3 | No fix listed |
| topthink/framework(Packagist) | = v6.0.4 | No fix listed |
| topthink/framework(Packagist) | = v6.0.5 | No fix listed |
| topthink/framework(Packagist) | = v6.0.6 | No fix listed |
| topthink/framework(Packagist) | = v6.0.7 | No fix listed |
| topthink/framework(Packagist) | = v6.0.8 | No fix listed |
| topthink/framework(Packagist) | = v6.0.9 | No fix listed |
| thinkphp | < 6.0.14 | 6.0.14 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch third-party-advisory
- github.com product
- github.com patch third-party-advisory
- tttang.com exploit third-party-advisory
- github.com