CVE-2022-33107
Published: 29 June 2022
Summary
CVE-2022-33107 is a critical-severity Deserialization of Untrusted Data (CWE-502) vulnerability in Thinkphp Thinkphp. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 4.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
ThinkPHP version 6.0.12 contains a deserialization vulnerability in the league/flysystem-cached-adapter component at vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php. The flaw, tracked as CWE-502, permits an attacker to supply a crafted serialized payload that the application deserializes without sufficient validation, resulting in arbitrary code execution. The issue carries a CVSS 3.1 score of 9.8, reflecting network-accessible exploitation with no required credentials or user interaction.
An unauthenticated remote attacker can send a malicious request containing the crafted payload to any ThinkPHP application running the affected version. Successful exploitation grants the attacker the ability to execute arbitrary PHP code on the underlying server, potentially leading to full system compromise including data theft, persistence, or lateral movement.
Public references consist of GitHub issue reports filed against the top-think/framework repository that document the discovery and reproduction steps. No official patch or mitigation guidance is detailed in the supplied references.
The CVE maintains an EPSS score of 0.2061 with a recorded peak of 0.2457, indicating sustained moderate exploitation interest well after the June 2022 disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-6045
Vulnerability details
ThinkPHP v6.0.12 was discovered to contain a deserialization vulnerability via the component vendor\league\flysystem-cached-adapter\src\Storage\AbstractCache.php. This vulnerability allows attackers to execute arbitrary code via a crafted payload.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing supplies malicious serialized objects, detecting unsafe deserialization and supporting corrective actions.
Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.
Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.
Validates or rejects untrusted serialized data before deserialization occurs.
Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.
Integrity verification of serialized information can detect tampering before deserialization occurs.
Provenance of associated data allows detection of untrusted sources before deserialization or processing occurs.