CVE-2025-13698
Unknown Unknown - Not Provided
Directory Traversal in OPNsense diag_backup.php Enables Root File Creation

Publication date: 2025-12-23

Last updated on: 2025-12-23

Assigner: Zero Day Initiative

Description
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. Was ZDI-CAN-28133.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-23
Last Modified
2025-12-23
Generated
2026-05-09
AI Q&A
2025-12-24
EPSS Evaluated
2026-05-07
NVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
deciso opnsense 3.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in Deciso OPNsense's diag_backup.php allows an authenticated network-adjacent attacker to perform directory traversal and create arbitrary files on the system. It occurs because the application does not properly validate user-supplied file paths before using them in file operations, enabling the attacker to create files with root privileges.


How can this vulnerability impact me? :

An attacker exploiting this vulnerability can create arbitrary files on the affected system with root privileges. This could lead to unauthorized modification or insertion of malicious files, potentially compromising system integrity and security.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart