CVE-2024-43009 Cross-site scripting in n/a

Medium 4.7 Published Updated

Attackers can execute arbitrary JavaScript in victim browsers via unsanitized Referer headers in ZZCMS, enabling session hijacking or defacement.

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
None listed

What is CVE-2024-43009?

CVE-2024-43009 is a medium-severity cross-site scripting vulnerability in Zzcms Zzcms, published on 16 Aug 2024. 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

A reflected cross-site scripting (XSS) vulnerability exists in user/login.php at line 24 in ZZCMS 2023 and earlier. The application directly inserts the value of the HTTP_REFERER header into the HTML response without proper sanitization. An attacker can exploit this vulnerability by tricking a user into visiting a specially crafted URL, which includes a malicious Referer header. This can lead to the execution of arbitrary JavaScript code in the context of the victim's browser, potentially resulting in session hijacking, defacement, or other malicious activities.

Weakness: CWE-79

Which versions are affected by CVE-2024-43009?

It affects 1 product.

Products include Zzcms Zzcms.

How do I fix CVE-2024-43009?

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

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-2024-43009 being exploited?

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

All Zzcms Zzcms vulnerabilities

Sources

Also known as GHSA-g5p7-39ff-j5mv.

Is CVE-2024-43009 in your software?

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

Check your SBOMs for free