CVE-2023-3941 Multiple arbitrary file writes in ZkTeco-based OEM devices

Critical 10.0 Published Updated

Attackers can write arbitrary files with root privileges on ZkTeco-based OEM devices via relative path traversal, potentially leading to full system compromise.

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

CVE-2023-3941 is a critical 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 write any file on the system with root privileges.

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

How do I fix CVE-2023-3941?

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

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

Sources

Also known as GHSA-hxrc-p4fv-gc5g.

Is CVE-2023-3941 in your software?

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

Check your SBOMs for free