CVE Catalog

CVE-2025-49138

MediumCVSS 6.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.52%

43th percentile - higher than 43% of all known CVEs

Summary

HAX CMS PHP prior to version 11.0.0 contains an authenticated Local File Inclusion (LFI) vulnerability in the saveOutline endpoint that allows a low-privileged user to read arbitrary files on the server by manipulating the location field in site.json. This enables exfiltration of sensitive system files such as /etc/passwd, application secrets, or configuration files accessible to the web server.

Risk Assessment

An attacker can access sensitive information, including credentials and configuration data, potentially leading to further privilege escalation.

Recommendation

Update HAX CMS PHP to version 11.0.0 or later.

Related vulnerabilities

Original NVD description (English source)

HAX CMS PHP allows users to manage their microsite universe with a PHP backend. Prior to version 11.0.0, an authenticated Local File Inclusion (LFI) vulnerability in the HAXCMS saveOutline endpoint allows a low-privileged user to read arbitrary files on the server by manipulating the location field written into site.json. This enables attackers to exfiltrate sensitive system files such as /etc/passwd, application secrets, or configuration files accessible to the web server (www-data). The vulnerability stems from the way the HAXCMS backend handles the location field in the site's outline. When a user sends a POST request to /system/api/saveOutline, the backend stores the provided location value directly into the site.json file associated with the site, without validating or sanitizing the input. Later the location parameter is interpreted by the CMS to resolve and load the content for a given node. If the location field contains a relative path like `../../../etc/passwd`, the application will attempt to read and render that file. Version 11.0.0 fixes the issue.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS