| 제목 | SourceCodester Resort Reservation System (PHP + SQLite3) 1.0 Local File Inclusion |
|---|
| 설명 | The Resort Reservation System application is vulnerable to Local File Inclusion (LFI) due to improper handling of user-supplied input in the page parameter.
The application directly incorporates the page parameter into a PHP include() statement without validation or sanitization:
$page = $_GET['page'] ?? 'home';
include($page . ".php");
An authenticated attacker can manipulate the page parameter to include unintended files using PHP stream wrappers such as php://filter. This allows disclosure of sensitive source code files by bypassing the enforced .php extension through encoding filters. |
|---|
| 원천 | ⚠️ https://medium.com/@cybertamarin/local-file-inclusion-in-a-php-reservation-system-from-parameter-abuse-to-source-code-disclosure-f1ac55dd6178 |
|---|
| 사용자 | Antony Esthak Twinson (UID 96471) |
|---|
| 제출 | 2026. 03. 27. PM 03:27 (6 개월 ago) |
|---|
| 모더레이션 | 2026. 04. 08. PM 09:13 (12 days later) |
|---|
| 상태 | 중복 |
|---|
| VulDB 항목 | 236234 [SourceCodester Resort Reservation System 1.0 index.php page 권한 상승] |
|---|
| 포인트들 | 0 |
|---|