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-06-19
AI Q&A
2025-12-24
EPSS Evaluated
2026-06-18
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 Quick Actions
Instant insights powered by AI
Executive Summary

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.

Impact Analysis

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.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-13698. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart