CVE-2022-2262 Online Hotel Booking System Room edit_all_room.php sql injection

Medium 4.7 Published Updated

Remote attackers can exploit SQL injection in the room editing module to read or modify database contents.

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

What is CVE-2022-2262?

CVE-2022-2262 is a medium-severity SQL injection vulnerability in unspecified Online Hotel Booking System, published on 12 Jul 2022. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability has been found in Online Hotel Booking System 1.0 and classified as critical. Affected by this vulnerability is an unknown functionality of the file edit_all_room.php of the component Room Handler. The manipulation of the argument id with the input 2828%27%20AND%20(SELECT%203766%20FROM%20(SELECT(SLEEP(5)))BmIK)%20AND%20%27YLPl%27=%27YLPl leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Weakness: CWE-89

Which versions are affected by CVE-2022-2262?

It affects 1 product.

Products include Online Hotel Booking Project Online Hotel Booking.

How do I fix CVE-2022-2262?

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

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

Sources

Also known as GHSA-9mwm-vgcj-xv39.

Is CVE-2022-2262 in your software?

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

Check your SBOMs for free