~ / search / GHSA-p4qr-vq2g-22wp

GHSA-p4qr-vq2g-22wp

ThinkPHP Framework vulnerable to remote code execution

Source: GitHub Advisory Database (reviewed) Critical CVE-2022-47945

Packages

EcosystemPackageAffectedFixed 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.