CVE-2024-25315 SQL injection in n/a

Critical 9.8 Published Updated

An attacker can execute arbitrary SQL commands via the 'rid' parameter in the room booking module, potentially accessing or modifying database records.

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-2024-25315?

CVE-2024-25315 is a critical SQL injection vulnerability in n/a, published on 9 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Code-projects Hotel Managment System 1.0, allows SQL Injection via the 'rid' parameter in Hotel/admin/roombook.php?rid=2.

Weakness: CWE-89

Which versions are affected by CVE-2024-25315?

It affects 1 product.

Products include Hotel Management System Project Hotel Management System.

How do I fix CVE-2024-25315?

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

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

Sources

Also known as GHSA-cc59-mwcm-hxv4.

Is CVE-2024-25315 in your software?

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

Check your SBOMs for free