CVE-2024-0345 CodeAstro Vehicle Booking System User Registration usr-register.php cross site scripting

Medium 4.3 Published Updated

Attackers can inject malicious scripts into user registration fields, potentially stealing cookies or session data from other users.

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

CVE-2024-0345 is a medium-severity cross-site scripting vulnerability in CodeAstro Vehicle Booking System, published on 9 Jan 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 vulnerability, which was classified as problematic, was found in CodeAstro Vehicle Booking System 1.0. This affects an unknown part of the file usr/usr-register.php of the component User Registration. The manipulation of the argument Full_Name/Last_Name/Address with the input <script>alert(document.cookie)</script> leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-250113 was assigned to this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-0345?

It affects 1 product.

Products include Vehicle Booking System Project Vehicle Booking System.

How do I fix CVE-2024-0345?

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

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

Sources

Also known as GHSA-9vrw-5c88-5qw8.

Is CVE-2024-0345 in your software?

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

Check your SBOMs for free