logo

CVE-2022-47945 topthink/framework

Package

Manager: composer
Name: topthink/framework
Vulnerable Version: >=0 <6.0.14

Severity

Level: Critical

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.90617 pctl0.99595

Details

ThinkPHP Framework vulnerable to remote code execution 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`.

Metadata

Created: 2022-12-23T21:30:17Z
Modified: 2025-04-15T15:51:35Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-p4qr-vq2g-22wp/GHSA-p4qr-vq2g-22wp.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-p4qr-vq2g-22wp
Finding: F063
Auto approve: 1