Advisory Details

September 26th, 2025

Fortinet FortiWeb _cmf_get_config_file_path Directory Traversal Information Disclosure Vulnerability

ZDI-25-918
ZDI-CAN-27382

CVE ID CVE-2025-53609
CVSS SCORE 4.9, AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
AFFECTED VENDORS Fortinet
AFFECTED PRODUCTS FortiWeb
VULNERABILITY DETAILS

This vulnerability allows remote attackers to disclose sensitive information on affected installations of Fortinet FortiWeb. Authentication is required to exploit this vulnerability.

The specific flaw exists within the implementation of the _cmf_get_config_file_path method. The issue results from the lack of proper validation of a user-supplied path prior to using it in file operations. An attacker can leverage this vulnerability to disclose information in the context of root.

ADDITIONAL DETAILS Fortinet has issued an update to correct this vulnerability. More details can be found at:
https://www.fortiguard.com/psirt/FG-IR-25-512
DISCLOSURE TIMELINE
  • 2025-06-10 - Vulnerability reported to vendor
  • 2025-09-26 - Coordinated public release of advisory
  • 2025-09-26 - Advisory Updated
CREDIT Jason McFadyen of Trend Research
BACK TO ADVISORIES