CVE-2021-44892
PHP vulnerability analysis and mitigation

Overview

A Remote Code Execution (RCE) vulnerability exists in ThinkPHP 3.x.x, identified as CVE-2021-44892. The vulnerability was discovered in December 2021 and publicly disclosed in February 2022. The vulnerability exists via the value[_filename] parameter in index.php, which could allow malicious users to obtain server control privileges (NVD, MITRE).

Technical details

The vulnerability stems from the combination of two ThinkPHP framework functions: assign() and display(). The assign function can be used for variable overwriting, while the display function can contain malicious payloads. The vulnerability involves template rendering and can be exploited by creating a specific route according to the framework's documentation. The CVSS v3.1 base score is 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD, Web Security).

Impact

Successful exploitation of this vulnerability allows attackers to execute arbitrary code on the affected server and obtain server control privileges. This can lead to complete compromise of the system's confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

No official patches or mitigations have been publicly documented for this vulnerability. Organizations using ThinkPHP 3.x.x should consider upgrading to a newer version of the framework or implementing additional security controls to prevent unauthorized access to the vulnerable components (NVD).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65346CRITICAL9.1
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 04, 2025
CVE-2025-66468HIGH7.6
  • PHPPHP
  • aimeos/ai-cms-grapesjs
NoYesDec 02, 2025
CVE-2025-65345MEDIUM6.5
  • PHPPHP
  • alexusmai/laravel-file-manager
NoNoDec 03, 2025
CVE-2025-65657MEDIUM6.5
  • PHPPHP
  • feehi/cms
NoNoDec 02, 2025
CVE-2025-65186MEDIUM6.1
  • PHPPHP
  • getgrav/grav
NoNoDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management