Vulnerabilities · 2025 · Psu
CVE-2025-49138
Psu Haxcms-php vulnerability
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.
Affected products
Haxcms-php. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Psu Haxcms-php runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8g · Exploit
- github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backe
- nvd.nist.gov/vuln/detail/CVE-2025-49138
- github.com/advisories/GHSA-hxrr-x32w-cg8g
- nvd.nist.gov/vuln/detail/CVE-2025-49138
- cve.org/CVERecord?id=CVE-2025-49138
More vulnerabilities in Psu products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.