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

- Severity: Medium 4.7 (CVSS:3.1, scored by VulDB) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 58% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2022-07-12T14:10:10.000Z
- Modified: 2026-06-17T04:41:35.053Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- unspecified Online Hotel Booking System: 1.0
- online_hotel_booking_project online_hotel_booking: 1.0

## Every score

- VulDB: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/Xor-Gerke/webray.com.cn/blob/main/cve/Online%20Hotel%20Booking%20System/Online%20Hotel%20Booking%20System%20edit_all_room.php%20id%20SQL%20inject.md> (exploit, third-party-advisory)
- <https://vuldb.com/?id.202981> (exploit, permissions-required, third-party-advisory)

## Sources

- CVE List: [CVE-2022-2262](https://www.cve.org/CVERecord?id=CVE-2022-2262), CVE Terms of Use, modified 2025-04-15
- NVD: [CVE-2022-2262](https://nvd.nist.gov/vuln/detail/CVE-2022-2262), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-2262 · Whole record: https://cve.day/CVE-2022-2262.json · Rebuilt by cve.day 2026-11-25T22:58:12.864Z
