CVE-2024-48112 ThinkPHP deserialization vulnerability

Critical 9.8 Published Updated

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.

PackageAffectedFixed in
topthink/thinkphp PackagistFrom 6.1.3 to 8.0.4None
topthink/thinkphp PackagistFrom 6.1.3 to 8.0.4None

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.

Sources

Also known as GHSA-pjhx-j53p-c5f5.

Is CVE-2024-48112 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free