ghsa-p4qr-vq2g-22wp
Vulnerability from github
Published
2022-12-23 21:30
Modified
2023-01-04 13:51
Severity ?
Summary
ThinkPHP Framework vulnerable to remote code execution
Details
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
.
{ "affected": [ { "package": { "ecosystem": "Packagist", "name": "topthink/framework" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "6.0.14" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-47945" ], "database_specific": { "cwe_ids": [ "CWE-22" ], "github_reviewed": true, "github_reviewed_at": "2023-01-04T13:51:57Z", "nvd_published_at": "2022-12-23T21:15:00Z", "severity": "CRITICAL" }, "details": "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`.", "id": "GHSA-p4qr-vq2g-22wp", "modified": "2023-01-04T13:51:57Z", "published": "2022-12-23T21:30:17Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-47945" }, { "type": "WEB", "url": "https://github.com/top-think/framework/commit/c4acb8b4001b98a0078eda25840d33e295a7f099" }, { "type": "PACKAGE", "url": "https://github.com/top-think/framework" }, { "type": "WEB", "url": "https://github.com/top-think/framework/compare/v6.0.13...v6.0.14" }, { "type": "WEB", "url": "https://tttang.com/archive/1865" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "ThinkPHP Framework vulnerable to remote code execution" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.