CVE-2024-48112 ThinkPHP deserialization vulnerability
Attackers can execute arbitrary code via a deserialization flaw in the ThinkPHP framework controller.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-48112?
CVE-2024-48112 is a critical unsafe deserialization vulnerability in n/a, published on 30 Oct 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A deserialization vulnerability in the component \controller\Index.php of Thinkphp v6.1.3 to v8.0.4 allows attackers to execute arbitrary code.
Weakness: CWE-502
Which versions are affected by CVE-2024-48112?
2 open source packages ship an affected version, including topthink/thinkphp. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
topthink/thinkphp Packagist | From 6.1.3 to 8.0.4 | None |
topthink/thinkphp Packagist | From 6.1.3 to 8.0.4 | None |
Products include Thinkphp Thinkphp.
How do I fix CVE-2024-48112?
No fix has been published for CVE-2024-48112 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2024-48112 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-48112 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pjhx-j53p-c5f5.