ZDI-25-1022: Deciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation Vulnerability
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.
Other sources
This vulnerability allows network-adjacent attackers to create arbitrary files on affected installations of Deciso OPNsense. Authentication is required to exploit this vulnerability. The ZDI has assigned a CVSS rating of 4.5. The following CVEs are assigned: CVE-2025-13698.
— ZDI
Affected Software
Event History
Frequently Asked Questions
What is the severity of ZDI-25-1022?
The severity of ZDI-25-1022 is considered medium due to the requirement for authentication to exploit the flaw.
How do I fix ZDI-25-1022?
To fix ZDI-25-1022, upgrade your Deciso OPNsense installation to the latest version that addresses the vulnerability.
What type of attacks does ZDI-25-1022 allow?
ZDI-25-1022 allows network-adjacent attackers to create arbitrary files on affected installations of Deciso OPNsense.
Is authentication required to exploit ZDI-25-1022?
Yes, authentication is required to exploit ZDI-25-1022.
What component is affected by ZDI-25-1022?
The specific component affected by ZDI-25-1022 is the handling of backup configuration files in Deciso OPNsense.