Skip to main content
← All vulnerabilities
CVE-2022-47945GHSA-P4QR-VQ2G-22WP

ThinkPHP Framework before 6.0.14 allows local file inclusion via the lang parameter when the language pack feature is enabled (lang_switch_o

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.0.14
1 Nuclei template
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • topthink/frameworkPackagist

    fixed in 6.0.14

References 4

tttang.com

GitHub · top-think/framework

GitHub · projectdiscovery/nuclei-templates