GHSA-p4qr-vq2g-22wp
ThinkPHP Framework vulnerable to remote code execution
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | topthink/framework | < 6.0.14 | 6.0.14 |
Details
As written in the advisory (Markdown source, shown as plain text).
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`.
References
External links from the advisory. They lead to third-party sites.