| 标题 | SourceCodester Basic Hotel Online Reservation System using PHP with Source Code Code 1.0 SQL Injection |
|---|
| 描述 | During the security review of "Basic Hotel Online Reservation System using PHP", I discovered a critical SQL injection vulnerability in the "/HOR/add_reserve.php" file. This vulnerability stems from insufficient user input validation of the 'room_id' parameter, allowing attackers to inject malicious SQL queries. All major injection techniques (error-based, UNION query, boolean-based blind, time-based blind) are applicable to this parameter. Therefore, attackers can gain unauthorized access to databases, modify or delete data, and access sensitive information 鈥?the full content of the 'admin' table (including plaintext administrator credentials) and 34 guest records containing personally identifiable information (names, addresses, phone numbers) were extracted. Immediate remedial measures are needed to ensure system security and protect data integrity. |
|---|
| 来源 | ⚠️ https://github.com/OnlyCMJB/cve/issues/5 |
|---|
| 用户 | OnlyCMJB (UID 100094) |
|---|
| 提交 | 2026-10-29 09時16分 (28 日前) |
|---|
| 管理 | 2026-11-26 12時06分 (28 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 444286 [SourceCodester Basic Hotel Online Reservation System 1.0 add_reserve.php room_id SQL注入] |
|---|
| 积分 | 20 |
|---|