CVE-2023-3938 Bypassing ZkTeco-based OEM devices/ZKTeco biometric authentication system via SQLi in QR code
Attackers can bypass biometric authentication and log in as any user via SQL injection in QR code processing on ZkTeco devices.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-3938?
CVE-2023-3938 is a medium-severity SQL injection vulnerability in ZkTeco-based OEM devices with firmware ZAM170-NF-1.8.25-7354-Ver1.0.0, published on 21 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in ZkTeco-based OEM devices allows an attacker to authenticate under any user from the device database.
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-89
Which versions are affected by CVE-2023-3938?
How do I fix CVE-2023-3938?
No fix has been published for CVE-2023-3938 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-3938 being exploited?
There is no known exploitation of CVE-2023-3938 in the wild and no public exploit code.
Sources
Also known as GHSA-gp7w-fhxq-93jr.