CVE-2023-5652 WP Hotel Booking < 2.0.8 - Unauthenticated SQLi

Critical 9.8 Published Updated

Unauthenticated attackers can perform SQL injection via unsanitized input in the WP Hotel Booking plugin, potentially accessing or modifying database contents.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-5652?

CVE-2023-5652 is a critical SQL injection vulnerability in Unknown WP Hotel Booking, published on 20 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The WP Hotel Booking WordPress plugin before 2.0.8 does not have authorisation and CSRF checks, as well as does not escape user input before using it in a SQL statement of a function hooked to admin_init, allowing unauthenticated users to perform SQL injections

Weakness: CWE-89

Which versions are affected by CVE-2023-5652?

It affects 1 product.

Products include Thimpress Wp Hotel Booking.

How do I fix CVE-2023-5652?

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

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2023-5652 being exploited?

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

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-6vrh-99q9-hcxv.

Is CVE-2023-5652 in your software?

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

Check your SBOMs for free