Advisory Details

November 25th, 2025

Deciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation Vulnerability

ZDI-25-1022
ZDI-CAN-28133

CVE ID CVE-2025-13698
CVSS SCORE 4.5, AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N
AFFECTED VENDORS Deciso
AFFECTED PRODUCTS OPNsense
VULNERABILITY DETAILS

This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of Deciso OPNsense. Authentication is required to exploit this vulnerability.

The specific flaw exists within the handling of backup configuration files. 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 create files in the context of root.

ADDITIONAL DETAILS Deciso has issued an update to correct this vulnerability. More details can be found at:
https://github.com/opnsense/core/commit/cb15c935137d05c86a1e6cf12af877e9c32a23af
DISCLOSURE TIMELINE
  • 2025-10-29 - Vulnerability reported to vendor
  • 2025-11-25 - Coordinated public release of advisory
  • 2025-11-25 - Advisory Updated
CREDIT Alex Williams from Pellera Technologies
BACK TO ADVISORIES