CVE-2024-8413 Cross Site Scripting (XSS) in Raspcontrol

Medium 5.4 Published Updated

An attacker can execute malicious scripts in an authenticated user's browser via the action parameter, potentially hijacking their session.

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-8413?

CVE-2024-8413 is a medium-severity cross-site scripting vulnerability in RaspControl, published on 4 Sep 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

Cross Site Scripting (XSS) vulnerability through the action parameter in index.php. Affected product codebase https://github.com/Bioshox/Raspcontrol and forks such as https://github.com/harmon25/raspcontrol . An attacker could exploit this vulnerability by sending a specially crafted JavaScript payload to an authenticated user and partially hijacking their session details.

References list

Weakness: CWE-79

Which versions are affected by CVE-2024-8413?

It affects 1 product.

Products include Raspcontrol Project Raspcontrol.

How do I fix CVE-2024-8413?

No fix has been published for CVE-2024-8413 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-8413 being exploited?

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

Sources

Also known as GHSA-5g3f-cpvx-g37c.

Is CVE-2024-8413 in your software?

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

Check your SBOMs for free