Unrated
Security advisory
A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 allows attackers to execute arbitrary system commands as root via a crafted ZIP archive.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-38997
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 18:34 UTC · Revision 1
Source evidence
A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 allows attackers to execute arbitrary system commands as root via a crafted ZIP archive.
osv:CVE-2023-38997
Complete source record
{
"id": "d7dc74a351f645e2bd94aff5c148e115c7653ce7fbe5cde927dc634d36b16314",
"url": "https://osv.dev/vulnerability/CVE-2023-38997",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2023-38997",
"summary": "A directory traversal vulnerability in the Captive Portal templates of OPNsense Community Edition before 23.7 and Business Edition before 23.4.2 allows attackers to execute arbitrary system commands as root via a crafted ZIP archive.",
"evidence": "osv:CVE-2023-38997",
"products": [],
"severity": "unknown",
"structured": {
"id": "CVE-2023-38997",
"aliases": [
"CVE-2023-38997"
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/opnsense/core",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "497e46956ae0251273189a9ea59dc5128af9e1d9"
},
{
"fixed": "448762d440b51574f1906c0ec2f5ea6dc4f16eb2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:opnsense:opnsense:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "23.7"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "448762d440b51574f1906c0ec2f5ea6dc4f16eb2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"23.7.b",
"23.7.a",
"23.1.r",
"23.1.b",
"23.1.a",
"22.7.r",
"22.7.b",
"22.7.a",
"22.1.r",
"22.1.b",
"22.1.a",
"21.7.r",
"21.7.b",
"21.7.a",
"21.1.r",
"21.1.b",
"21.1.a",
"20.7.r",
"20.7.b",
"20.7.a",
"20.1.r",
"20.1.b",
"20.1.a",
"19.7.r",
"19.7.b",
"19.7.a",
"19.1.r",
"19.1.b",
"19.1.a",
"18.7.r",
"18.7.b",
"18.7.a",
"18.1.r",
"18.1.b",
"18.1.a",
"17.7.r",
"17.7.b",
"17.7.a",
"17.1.r",
"17.1.b",
"17.1.a",
"16.7.r",
"16.7.b",
"16.7.a",
"15.7",
"15.1.12",
"15.1.11.4",
"15.1.11.3",
"15.1.11.2",
"15.1.11.1",
"15.1.11",
"15.1.10.2",
"15.1.10",
"15.1.9.2",
"15.1.9.1",
"15.1.9",
"15.1.8.4",
"15.1.8.3",
"15.1.8.2",
"15.1.8.1",
"15.1.8",
"15.1.7.2",
"15.1.7.1",
"15.1.7",
"15.1.6.1",
"15.1.6",
"15.1.5",
"15.1.4",
"15.1.3",
"15.1.2",
"15.1.1",
"15.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-38997.json"
}
}
],
"modified": "2026-10-28T02:30:22.328806971Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38997.json",
"https://nvd.nist.gov/vuln/detail/CVE-2023-38997",
"https://github.com/opnsense/core/commit/448762d440b51574f1906c0ec2f5ea6dc4f16eb2",
"https://logicaltrust.net/blog/2023/08/opnsense.html"
],
"provider_metadata": {
"cna_assigner": "mitre",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"fixed": "23.4.2"
}
],
"source": "DESCRIPTION"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/38xxx/CVE-2023-38997.json"
}
},
"related_cves": [
{
"value": "CVE-2023-38997",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 488595,
"published_at": "2023-08-09T00:00:00+00:00"
}