Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privileged HAX CMS account
-
DeliveryAccess media upload endpoint
-
ExploitUpload PHP webshell named as image
-
InstallBypass regex-only extension check
-
C2Request uploaded file URL
-
ExecutePHP interpreter executes webshell
-
ImpactAchieve RCE as web server user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK
2 techniques across 2 tactics: Command and Control, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a valid low-privileged HAX CMS PHP account that can reach the file upload functionality (CVSS PR:L), network reachability to the HAX CMS PHP backend, and a deployment where uploaded files are stored in a directory served by an active PHP handler (the default for haxcms-php media uploads). The vulnerable version range is haxcms-php 11.0.6 through anything below 25.0.0 - installations of the Node.js backend are not indicated as affected. No user interaction is required (UI:N), no special attack conditions apply (AT:N), and attack complexity is low (AC:L); the primary limiting factor is the authenticated-user prerequisite, which is materially weakened wherever self-registration, shared author accounts, or weak credentials are present. |
| Impact | Signals are largely consistent: CVSS v4.0 reports AV:N/AC:L/AT:N/PR:L/UI:N with full VC:H/VI:H/VA:H impact on the vulnerable component, meaning a low-privileged authenticated user over the network can achieve full RCE with no user interaction and no special attack conditions - a realistic priority for any internet-exposed HAX CMS PHP instance. The PR:L requirement (some authenticated account, e.g. a content author role) moderates risk versus a fully unauthenticated bug but is trivial to satisfy where self-registration or weak credentials exist. Confirmed actively exploited status is not present (no CISA KEV listing), EPSS data was not provided in the input, and no public exploit identified at time of analysis; however, CWE-434 webshell upload bugs are highly automatable and weaponization is typically rapid once a vendor advisory like GHSA-ffxv-9qv2-v2v8 is published, so this should be treated as a high-priority patch rather than a low-real-risk theoretical issue. |
| Exploit ScenarioDerived | An attacker obtains or registers a low-privileged HAX CMS PHP account, then uses the media upload form to submit a file named like 'photo.php' (or a polyglot 'photo.php.jpg' depending on server handler mapping) containing a PHP webshell, which the regex extension check fails to block because content and MIME are never inspected. The attacker then requests the uploaded file's URL in a browser, the PHP interpreter executes the webshell, and the attacker gains arbitrary command execution as the web server user - typical follow-on actions include reading site secrets, pivoting to the database, and establishing persistence. No public exploit was identified at time of analysis, but CWE-434 patterns are routinely automated. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 05, 2026
Arbitrary file upload in HAX CMS (PHP backend) versions 11.0.6 through 24.x allows authenticated remote attackers to upload PHP webshells disguised as images by abusing a regex-only extension check that ignores MIME type and content inspection, leading to remote code execution on the web server. CVSS v4.0 scores this 8.7 (High) with PR:L indicating low-privilege authentication is required, and no public exploit was identified at time of analysis although the underlying CWE-434 pattern is highly automatable.
RemediationAI
Vendor-released patch: upgrade haxcms-php to version 25.0.0 or later, which adds proper file content/MIME validation as documented in GitHub Security Advisory GHSA-ffxv-9qv2-v2v8 (https://github.com/haxtheweb/issues/security/advisories/GHSA-ffxv-9qv2-v2v8) and tracked as EUVD-2026-34894. Where immediate upgrade is not possible, compensating controls include disabling the file upload endpoint for untrusted roles (trade-off: breaks legitimate author workflows that rely on media uploads), placing the uploads directory outside the document root or serving it from a path where PHP execution is disabled via web server configuration such as an Apache .htaccess with 'php_flag engine off' or an nginx location block that forces a static MIME handler (trade-off: requires server-level changes and will not protect against polyglot files served through other interpreters), and restricting access to the CMS administrative surface to VPN or IP-allowlisted networks to shrink the attacker pool able to obtain the low-privilege account required by PR:L.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
HAX CMS is an open-source headless content management system for managing 'microsite universes' with either PHP or Node.js backends; this issue is scoped specifically to the PHP backend identified by the CPE cpe:2.3:a:haxtheweb:haxcms-php. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type): the upload handler validates only the trailing filename extension via a regex pattern, with no inspection of magic bytes, no MIME sniffing, and no enforcement that uploaded content actually matches an image format. Because the resulting file is written into a web-accessible directory served by the PHP interpreter, any uploaded .php (or PHP-handler-mapped extension such as .phtml or polyglot file) is executed when requested. This is a classic webshell delivery pattern made possible by extension-only allow/deny logic.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
3DescriptionCVE.org
HAX CMS helps manage microsite universe with PHP or NodeJs backends. Starting in version 11.0.6 and prior to version 25.0.0, the file upload functionality in HAXCMS PHP only validates file extensions using a regex pattern without checking the actual file content or MIME type. This allows attackers to upload malicious files (e.g., PHP webshells) disguised as legitimate image files, potentially leading to remote code execution. Version 25.0.0 contains a fix for the issue.
Executive ViewAI
HAX CMS versions 11.0.6 through 24.x contain a high-severity file upload vulnerability allowing authenticated users to execute arbitrary code on the web server. Organizations running vulnerable versions risk complete server compromise, data theft, and service disruption through an easily exploitable authenticated vector.
Apply vendor patch. Until patching is complete: restrict file upload functionality to administrative users only, disable PHP execution in upload directories via web server configuration (e.g., .htaccess or nginx directives), and implement real-time monitoring for suspicious PHP files in upload directories.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-34894
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB