Cyber Resilience

CVE-2022-33107

CriticalPublic PoCRCE

Published: 29 June 2022

Published
29 June 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.2061 95.7th percentile
Risk Priority 32 60% EPSS · 20% KEV · 20% CVSS

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

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

thinkphp
thinkphp
6.0.12

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.

addresses: CWE-502

Penetration testing supplies malicious serialized objects, detecting unsafe deserialization and supporting corrective actions.

addresses: CWE-502

Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.

addresses: CWE-502

Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.

addresses: CWE-502

Validates or rejects untrusted serialized data before deserialization occurs.

addresses: CWE-502

Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.

addresses: CWE-502

Integrity verification of serialized information can detect tampering before deserialization occurs.

addresses: CWE-502

Provenance of associated data allows detection of untrusted sources before deserialization or processing occurs.

References