CVE-2022-47945

CRITICAL9.8EPSS 89.9%

ThinkPHP Framework vulnerable to remote code execution

Published: 12/23/2022Modified: 4/15/2025
Also known as:GHSA-p4qr-vq2g-22wp

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

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1CRITICAL9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References (5)