CVE-2023-38951 Path traversal in n/a

Critical 9.8 Published Updated

Authenticated attackers can overwrite arbitrary files via path traversal in BioTime, potentially achieving arbitrary code execution as SYSTEM.

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

What is CVE-2023-38951?

CVE-2023-38951 is a critical path traversal vulnerability in n/a, published on 3 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ZKTeco BioTime 8.5.5 through 9.x before 9.0.1 (20240617.19506) allows authenticated attackers to create or overwrite arbitrary files on the server via crafted requests to /base/sftpsetting/ endpoints that abuse a path traversal issue in the Username field and a lack of input sanitization on the SSH Key field. Overwriting specific files may lead to arbitrary code execution as NT AUTHORITY\SYSTEM.

Weakness: CWE-22

Which versions are affected by CVE-2023-38951?

It affects 1 product.

Products include Zkteco Biotime.

How do I fix CVE-2023-38951?

No fix has been published for CVE-2023-38951 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-38951 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-38951 exists.

Sources

Also known as GHSA-vc5p-9c2v-8jwq.

Is CVE-2023-38951 in your software?

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

Check your SBOMs for free