OPNsense up to 23.6 Backup Configuration File diag_backup.php command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.5 | $0-$5k | 0.00 |
Summary
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.
Details
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.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.6VulDB 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: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Command injectionCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: OPNsense 23.7
Patch: e800097d0c287bb665f0751a98a67c75ef7b45e5
Timeline
07/25/2023 🔍08/10/2023 🔍
08/10/2023 🔍
01/22/2026 🔍
Sources
Advisory: e800097d0c287bb665f0751a98a67c75ef7b45e5Status: Confirmed
CVE: CVE-2023-39001 (🔍)
GCVE (CVE): GCVE-0-2023-39001
GCVE (VulDB): GCVE-100-236680
EUVD: 🔍
Entry
Created: 08/10/2023 08:30Updated: 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.
No comments yet. Languages: en.
Please log in to comment.