OPNsense up to 23.6 Backup Configuration File diag_backup.php command injection

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.5$0-$5k0.00

Summaryinfo

A vulnerability labeled as critical has been found in OPNsense up to 23.6. This issue affects some unknown processing of the file diag_backup.php of the component Backup Configuration File Handler. Executing a manipulation can lead to command injection. This vulnerability is registered as CVE-2023-39001. No exploit is available. The affected component should be upgraded.

Detailsinfo

A vulnerability was found in OPNsense up to 23.6. It has been declared as critical. This vulnerability affects an unknown part of the file diag_backup.php of the component Backup Configuration File Handler. The manipulation with an unknown input leads to a command injection vulnerability. The CWE definition for the vulnerability is CWE-77. The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

A command injection vulnerability in the component diag_backup.php of OPNsense before 23.7 allows attackers to execute arbitrary commands via a crafted backup configuration file.

The weakness was published 08/10/2023. The advisory is shared for download at logicaltrust.net. This vulnerability was named CVE-2023-39001 since 07/25/2023. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1202.

By approaching the search of inurl:diag_backup.php it is possible to find vulnerable targets with Google Hacking.

Upgrading to version 23.7 eliminates this vulnerability. Applying the patch e800097d0c287bb665f0751a98a67c75ef7b45e5 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at EUVD (EUVD-2023-42758). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.6
VulDB Meta Temp Score: 7.6

VulDB Base Score: 5.5
VulDB Temp Score: 5.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Command injection
CWE: CWE-77 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined
Google Hack: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: OPNsense 23.7
Patch: e800097d0c287bb665f0751a98a67c75ef7b45e5

Timelineinfo

07/25/2023 🔍
08/10/2023 +16 days 🔍
08/10/2023 +0 days 🔍
01/22/2026 +896 days 🔍

Sourcesinfo

Advisory: e800097d0c287bb665f0751a98a67c75ef7b45e5
Status: Confirmed

CVE: CVE-2023-39001 (🔍)
GCVE (CVE): GCVE-0-2023-39001
GCVE (VulDB): GCVE-100-236680
EUVD: 🔍

Entryinfo

Created: 08/10/2023 08:30
Updated: 01/22/2026 06:11
Changes: 08/10/2023 08:30 (42), 09/02/2023 17:36 (1), 09/02/2023 17:44 (11), 01/22/2026 06:11 (16)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!