CVE-2023-25825 ZoneMinder contains Cross-site Scripting via log viewing

High 7.7 Published Updated

Attackers can inject malicious scripts into log entries via referrer fields, leading to XSS when viewed in the ZoneMinder web interface.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-25825?

CVE-2023-25825 is a high-severity cross-site scripting vulnerability in Zoneminder Zoneminder, published on 25 Feb 2023. Any signed-in user can exploit it over the network, 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 are vulnerable to Cross-site Scripting. Log entries can be injected into the database logs, containing a malicious referrer field. This is unescaped when viewing the logs in the web ui. This issue is patched in version 1.36.33.

Weakness: CWE-79

Which versions are affected by CVE-2023-25825?

It affects 1 product.

Products include Zoneminder Zoneminder.

How do I fix CVE-2023-25825?

Upgrade to a fixed version.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-25825 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-25825 exists.

All Zoneminder Zoneminder vulnerabilities

Sources

Also known as DEBIAN-CVE-2023-25825, GHSA-68vf-g4qm-jr6v, UBUNTU-CVE-2023-25825.

Is CVE-2023-25825 in your software?

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

Check your SBOMs for free