CVE-2022-47945

Published Dec 23, 2022 CVSS 3.1 · 9.8 Critical EPSS 30.2% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p4qr-vq2g-22wp ThinkPHP Framework vulnerable to remote code execution
History
Type Values Removed Values Added
Metrics epss

{'score': 0.87461}

epss

{'score': 0.88534}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Apr 15, 2025, 1:52 PM
Reserved
Dec 23, 2022, 12:00 AM
Status
Modified
Published
Dec 23, 2022, 9:15 PM
Modified
Jun 17, 2026, 5:14 AM