CVE-2019-7342 Cross-site scripting in n/a

Medium 6.1 Published Updated

An attacker can execute arbitrary HTML or JavaScript code via the filter AutoExecuteCmd parameter in ZoneMinder, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-7342?

CVE-2019-7342 is a medium-severity cross-site scripting vulnerability in Zoneminder Zoneminder, published on 4 Feb 2019. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

POST - Cross Site Scripting (XSS) exists in ZoneMinder through 1.32.3, allowing an attacker to execute HTML or JavaScript code via a vulnerable 'filter[AutoExecuteCmd]' parameter value in the view filter (filter.php) because proper filtration is omitted.

Weakness: CWE-79

Which versions are affected by CVE-2019-7342?

It affects 1 product.

Products include Zoneminder Zoneminder.

How do I fix CVE-2019-7342?

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-2019-7342 being exploited?

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

All Zoneminder Zoneminder vulnerabilities

Sources

Also known as DEBIAN-CVE-2019-7342, GHSA-x6vr-c2q5-qrfg, UBUNTU-CVE-2019-7342.

Is CVE-2019-7342 in your software?

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

Check your SBOMs for free