| 제목 | SourceCodester Library Management System bb68e5c Unrestricted Upload of File with Dangerous Type |
|---|
| 설명 | Description: SourceCodester Library Management System (php-lms, commit bb68e5c) allows unauthenticated remote code execution and admin takeover. admin/session.php enforces login with header('location:index.php') but no exit/die, so PHP executes the rest of every admin page for unauthenticated requests. On admin/add_admin.php the handler runs pre-auth: it calls move_uploaded_file(FILES[′image′][′tmpname′],′upload/′._FILES['image']['name']) with only a size check and no extension, MIME, or content validation, placing a PHP web shell at the predictable URL /admin/upload/<name>, and it INSERTs an admin row with hardcoded admin_type='Admin'. One unauthenticated multipart POST yields RCE (live reproduction returned uid=0(root)) plus a working admin login. CVSS 3.1 score 9.8 Critical, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Discovered by Santhosh Kumar, TraceX Labs. Vendor contact attempted via SourceCodester contact form (blocked by spam filter); public disclosure published at https://tracexlabs.com/releases/lms-preauth-rce.html. |
|---|
| 원천 | ⚠️ https://tracexlabs.com/releases/lms-preauth-rce.html |
|---|
| 사용자 | SanthoshKumar (UID 101638) |
|---|
| 제출 | 2026. 09. 25. PM 04:09 (20 날 ago) |
|---|
| 모더레이션 | 2026. 10. 11. PM 10:06 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 416794 [SourceCodester Library Management System 1.0 admin/add_admin.php move_uploaded_file image 권한 상승] |
|---|
| 포인트들 | 20 |
|---|