CVE-2023-3940 Multiple arbitrary file reads in ZkTeco-based OEM devices

High 7.5 Published Updated

Attackers can read arbitrary files on ZkTeco-based OEM devices via relative path traversal, exposing sensitive system data.

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-3940?

CVE-2023-3940 is a high-severity path traversal vulnerability in ZkTeco-based OEM devices with firmware ZAM170-NF-1.8.25-7354-Ver1.0.0, published on 21 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Relative Path Traversal vulnerability in ZkTeco-based OEM devices allows an attacker to access any file on the system.

This issue affects ZkTeco-based OEM devices (ZkTeco ProFace X, Smartec ST-FR043, Smartec ST-FR041ME and possibly others) with the ZAM170-NF-1.8.25-7354-Ver1.0.0 and possibly others.

Weakness: CWE-23

Which versions are affected by CVE-2023-3940?

How do I fix CVE-2023-3940?

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

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

Sources

Also known as GHSA-g7hp-974g-6wg8.

Is CVE-2023-3940 in your software?

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

Check your SBOMs for free