CVE-2023-26032 ZoneMinder contains SQL injection via malicious Jason Web Token

High 8.9 Published Updated

Attackers can execute arbitrary SQL queries by crafting malicious JWT tokens if the signing key is known, compromising user data.

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

What is CVE-2023-26032?

CVE-2023-26032 is a high-severity SQL injection vulnerability in Zoneminder Zoneminder, published on 25 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

ZoneMinder is a free, open source Closed-circuit television software application for Linux which supports IP, USB and Analog cameras. Versions prior to 1.36.33 and 1.37.33 contain SQL Injection via malicious jason web token. The Username field of the JWT token was trusted when performing an SQL query to load the user. If an attacker could determine the HASH key used by ZoneMinder, they could generate a malicious JWT token and use it to execute arbitrary SQL. This issue is fixed in versions 1.36.33 and 1.37.33.

Weakness: CWE-89

Which versions are affected by CVE-2023-26032?

It affects 1 product.

Products include Zoneminder Zoneminder.

How do I fix CVE-2023-26032?

Upgrade to a fixed version.

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-26032 being exploited?

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

All Zoneminder Zoneminder vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-26032, GHSA-6c72-q9mw-mwx9, UBUNTU-CVE-2023-26032.

Is CVE-2023-26032 in your software?

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

Check your SBOMs for free