CVE-2021-24388 Vik Rent Car < 1.1.7 - CSRF to Stored XSS

Medium 5.4 Published Updated

Attackers can inject malicious scripts via unsanitized custom fields, potentially executing code in admin sessions due to missing CSRF protection.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-24388?

CVE-2021-24388 is a medium-severity cross-site scripting vulnerability in E4J s.r.l. VikRentCar Car Rental Management System, published on 6 Jul 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In the VikRentCar Car Rental Management System WordPress plugin before 1.1.7, there is a custom filed option by which we can manage all the fields that the users will have to fill in before saving the order. However, the field name is not sanitised or escaped before being output back in the page, leading to a stored Cross-Site Scripting issue. There is also no CSRF check done before saving the setting, allowing attackers to make a logged in admin set arbitrary Custom Fields, including one with XSS payload in it.

Weakness: CWE-79, CWE-352

Which versions are affected by CVE-2021-24388?

It affects 1 product.

Products include E4j Vikrentcar Car Rental Management System.

How do I fix CVE-2021-24388?

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

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

Sources

Also known as GHSA-cw42-gp9m-qx5j.

Is CVE-2021-24388 in your software?

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

Check your SBOMs for free