SCA: security update for topthink/framework (GHSA-p4qr-vq2g-22wp)

critical Tenable Cloud Security Plugin ID 417280

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-47945)

See Also

https://github.com/advisories/GHSA-p4qr-vq2g-22wp

Plugin Details

Severity: Critical

ID: 417280

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: High

Score: 7.9

Percentile: 99.36

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2022-47945

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/23/2022

Vulnerability Publication Date: 12/23/2022

Reference Information

CVE: CVE-2022-47945

cwe: CWE-22