CVE-2025-32028CWE-434

HAX CMS PHP allows Insecure File Upload to Lead to Remote Code Execution

Critical · published April 8, 2025

CVSS v3.1
10.0
EPSS
2%
Percentile
80.6
In the wild
Unconfirmed
What it is

🔥 A crafty file upload loophole could let attackers stash malicious scripts right on your server! Think of it like a restaurant where the kitchen staff only checks the main ingredients on the menu but ignores the potential allergens hiding in the spices. While they block the obvious threats, the sneaky ones can slip right through the cracks! This vulnerability could lead to a serious breach, allowing an attacker to upload dangerous files that execute code on your server. It’s like giving someone access to the back office — they could change the menu, steal recipes, or even wreak havoc on the entire kitchen! With a CVSS score of 10, the risk is absolutely devastating!

Put simply

Think of it like a restaurant where the kitchen staff only checks the main ingredients on the menu but ignores the potential allergens hiding in the spices. While they block the obvious threats, the sneaky ones can slip right through the cracks! The issue arises because the denylist in the 'save' function of HAXCMSFile.php is non-exhaustive, meaning it only blocks specific file types, allowing others to sneak through. This failure to 'fail closed' exposes the server to remote code execution risks.

What to do

This vulnerability could lead to a serious breach, allowing an attacker to upload dangerous files that execute code on your server. It’s like giving someone access to the back office — they could change the menu, steal recipes, or even wreak havoc on the entire kitchen! With a CVSS score of 10, the risk is absolutely devastating! To secure your HAX CMS PHP installation, immediately update to version 10.0.3, which contains the critical patch. Additionally, consider implementing a more robust file validation system that checks all file types before allowing uploads. Don't forget to audit your current file upload functions! You've got this! 🦸 By following these steps, you'll protect your server from this vulnerability and save the day!

The record
Technical detail
CVSS v3.1
10.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01998 · 80.6th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2025-04-08T16:06Z
EPSS history
Timeline
  • 08 APR 16:06Z
    HAX CMS PHP allows Insecure File Upload to Lead to Remote Code Execution
    cvelistv5