{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-13698",
        "assignerOrgId": "99f1926a-a320-47d8-bbb5-42feb611262e",
        "state": "PUBLISHED",
        "assignerShortName": "zdi",
        "dateReserved": "2025-11-25T21:38:19.636Z",
        "datePublished": "2025-12-23T21:40:13.580Z",
        "dateUpdated": "2025-12-24T16:11:29.726Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "99f1926a-a320-47d8-bbb5-42feb611262e",
                "shortName": "zdi",
                "dateUpdated": "2025-12-23T21:40:13.580Z"
            },
            "title": "Deciso OPNsense diag_backup.php filename Directory Traversal Arbitrary File Creation Vulnerability",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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.\n\nThe 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."
                }
            ],
            "affected": [
                {
                    "vendor": "Deciso",
                    "product": "OPNsense",
                    "versions": [
                        {
                            "version": "25.7",
                            "status": "affected"
                        }
                    ],
                    "defaultStatus": "unknown"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-22",
                            "description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://www.zerodayinitiative.com/advisories/ZDI-25-1022/",
                    "name": "ZDI-25-1022",
                    "tags": [
                        "x_research-advisory"
                    ]
                },
                {
                    "url": "https://github.com/opnsense/core/commit/cb15c935137d05c86a1e6cf12af877e9c32a23af",
                    "name": "vendor-provided URL",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "dateAssigned": "2025-11-25T21:38:19.663Z",
            "datePublic": "2025-11-25T21:44:20.909Z",
            "source": {
                "lang": "en",
                "value": "Alex Williams from Pellera Technologies"
            },
            "metrics": [
                {
                    "format": "CVSS",
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:N",
                        "baseScore": 4.5,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ]
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-12-24T16:11:22.376596Z",
                                "id": "CVE-2025-13698",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-12-24T16:11:29.726Z"
                }
            }
        ]
    }
}