CVE-2023-53894
Published: 16 December 2025
Description
phpfm 1.7.9 contains an authentication bypass vulnerability that allows attackers to log in by exploiting loose type comparison in password hash validation. Attackers can craft specific password hashes beginning with 0e or 00e to bypass authentication and upload malicious PHP…
more
files to the server.
Mitigating Controls (NIST 800-53 r5)AI
Directly remediates the authentication bypass flaw in phpfm by identifying, testing, and applying patches or upgrades to fix loose type comparison in password hash validation.
Requires authenticators to have sufficient strength of mechanism, preventing bypasses through weak validation prone to PHP type juggling with crafted '0e' or '00e' hashes.
Protects against execution of malicious PHP files uploaded after authentication bypass by deploying malicious code protection at system entry points and performing scans.
Security SummaryAI
CVE-2023-53894 is an authentication bypass vulnerability in phpfm version 1.7.9, a PHP-based file manager. The flaw stems from loose type comparison in password hash validation, allowing attackers to craft specific password hashes beginning with "0e" or "00e" that evaluate as equal to the expected hash (such as MD5 hashes starting with those prefixes). This issue is classified under CWE-1390 and carries a CVSS v3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating critical severity due to its network accessibility and high impact on confidentiality, integrity, and availability.
Remote attackers require no privileges or user interaction to exploit this vulnerability over the network. By submitting a specially crafted password hash during login, they can bypass authentication entirely and gain unauthorized access to the phpfm interface. Once logged in, attackers can upload malicious PHP files to the server, potentially leading to remote code execution, full server compromise, or further lateral movement depending on server permissions and configuration.
Advisories and references, including those from Vulncheck (https://www.vulncheck.com/advisories/phpfm-authentication-bypass-via-type-juggling-vulnerability), Exploit-DB (https://www.exploit-db.com/exploits/51594), and the phpfm project site (https://www.dulldusk.com/phpfm/), document the vulnerability and provide exploit details, but no specific patches or mitigation steps are detailed in the CVE description. Security practitioners should review these sources for updates and consider disabling or upgrading phpfm installations.
Details
- CWE(s)
Affected Products
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
CVE-2023-53894 is an authentication bypass in a public-facing web application (phpfm file manager), allowing remote exploitation without privileges to gain unauthorized access and upload malicious files for RCE.