CVE-2022-38352 ThinkPHP deserialization vulnerability
Attackers can execute arbitrary code in ThinkPHP via a deserialization vulnerability in the Flysystem cache component.
- 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-2022-38352?
CVE-2022-38352 is a critical unsafe deserialization vulnerability in n/a, published on 15 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
ThinkPHP v6.0.13 was discovered to contain a deserialization vulnerability via the component League\Flysystem\Cached\Storage\Psr6Cache. This vulnerability allows attackers to execute arbitrary code via a crafted payload.
Weakness: CWE-502
Which versions are affected by CVE-2022-38352?
2 open source packages ship an affected version, including topthink/framework. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
topthink/framework Packagist | All versions to 6.0.13 | None |
topthink/framework Packagist | All versions to 6.0.13 | None |
Products include Thinkphp Thinkphp.
How do I fix CVE-2022-38352?
No fix has been published for CVE-2022-38352 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-2022-38352 being exploited?
There is no known exploitation of CVE-2022-38352 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-qjjj-7g7h-54v3.