SecurityContext

CVE-2025-49138: HAX CMS PHP - Local File Inclusion

  • Cve: CVE-2025-49138
  • Name: HAX CMS PHP - Local File Inclusion
  • Description: 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.
  • Impact: Low-privileged authenticated users can read arbitrary files, potentially exposing sensitive system and application data.
  • Remediation: Upgrade to version 11.0.0 or later.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker must be authenticated with low privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.00547
  • Epss percentile: 0.46701
  • Assignee: [email protected]
  • Published at: 2025-06-09T21:15:47Z
  • Age in days: 533
  • Modified at: 2026-10-18T21:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-49138
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8gnvd2025-06-09

References

UrlSourceTags
https://github.com/haxtheweb/issues/security/advisories/GHSA-hxrr-x32w-cg8gnvdExploit, Third Party Advisory
https://github.com/haxtheweb/haxcms-php/blob/b158d8ba1f9602af92ab084fd03b418f953079fd/system/backend/php/lib/HAXCMSSite.php#L1248nvdProduct

Products

ProductAffectedPlatform boundSourcesUrl
psu:haxcms-php< 11.0.0nonvd/v1/products/psu/haxcms-php

Projects

RepositoryLink kindsIndexedUrl
haxtheweb/issuespackage, security_advisoryyes/v1/repositories/haxtheweb/issues

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-06-09
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts