CWE
22
Advisory Published
Advisory Published
Updated

CVE-2022-47945: Path Traversal

First published: Fri Dec 23 2022(Updated: )

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

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
ThinkPHP ThinkPHP<6.0.14

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-47945?

    CVE-2022-47945 is a vulnerability in the ThinkPHP Framework before version 6.0.14 that allows for local file inclusion and arbitrary command execution.

  • How severe is CVE-2022-47945?

    CVE-2022-47945 has a severity rating of 9.8 (critical).

  • How does CVE-2022-47945 work?

    CVE-2022-47945 can be exploited by an unauthenticated remote attacker by using the lang parameter with the language pack feature enabled, allowing them to execute arbitrary operating system commands.

  • Which software versions are affected by CVE-2022-47945?

    ThinkPHP Framework versions before 6.0.14 are affected by CVE-2022-47945.

  • How can CVE-2022-47945 be fixed?

    To fix CVE-2022-47945, it is recommended to update to ThinkPHP Framework version 6.0.14 or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203