CVE-2023-38997 Path traversal in n/a

High 7.2 Published Updated

Attackers can execute arbitrary system commands as root via a crafted ZIP archive in OPNsense Captive Portal templates.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-38997?

CVE-2023-38997 is a high-severity path traversal vulnerability in n/a, published on 9 Aug 2023. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

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.

Weakness: CWE-22

Which versions are affected by CVE-2023-38997?

It affects 1 product.

Products include Opnsense Opnsense.

How do I fix CVE-2023-38997?

No fix has been published for CVE-2023-38997 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2023-38997 being exploited?

There is no known exploitation of CVE-2023-38997 in the wild and no public exploit code.

Sources

Also known as GHSA-h44v-883g-x8c3.

Is CVE-2023-38997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free