ThinkPHP Framework vulnerable to remote code execution
Critical severity
GitHub Reviewed
Published
Dec 23, 2022
to the GitHub Advisory Database
•
Updated Aug 17, 2023
Description
Published by the National Vulnerability Database
Dec 23, 2022
Published to the GitHub Advisory Database
Dec 23, 2022
Reviewed
Jan 4, 2023
Last updated
Aug 17, 2023
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 includingpearcmd.php
.References