CVE-2023-3942 Multiple SQLi in ZkTeco-based OEM devices

High 7.5 Published Updated

Attackers can exploit SQL injection in ZKTeco-based devices to access user data and impersonate users, requiring firmware updates.

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

CVE-2023-3942 is a high-severity SQL injection vulnerability in ZkTeco-based OEM devices with firmware ZAM170-NF-1.8.25-7354-Ver1.0.0, Standalone service v. 2.1.6-20200907, published on 21 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An 'SQL Injection' vulnerability, due to improper neutralization of special elements used in SQL commands, exists in ZKTeco-based OEM devices. This vulnerability allows an attacker to, in some cases, impersonate another user or perform unauthorized actions. In other instances, it enables the attacker to access user data and system parameters from the database. This issue affects ZkTeco-based OEM devices (ZkTeco ProFace X, Smartec ST-FR043, Smartec ST-FR041ME and possibly others)

with firmware ZAM170-NF-1.8.25-7354-Ver1.0.0 and possibly other, Standalone service v. 2.1.6-20200907 and possibly others.

Weakness: CWE-89

Which versions are affected by CVE-2023-3942?

How do I fix CVE-2023-3942?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-3942 being exploited?

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

Sources

Also known as GHSA-8x7q-xp33-2vvh.

Is CVE-2023-3942 in your software?

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

Check your SBOMs for free