| 제목 | SourceCodester Contact Tracing System 1/11 Unrestricted Upload of File with Dangerous Type |
|---|
| 설명 | SourceCodester Contact Tracing System (commit be41d42) allows unauthenticated remote code execution. classes/Users.php exposes the f=save and f=delete actions with no authentication or authorization check. The save handler builds INSERT INTO users from raw POST keys (any row is an admin since the users table has no role column) and calls move_uploaded_file() on $_FILES['img'] into uploads/ with no extension, MIME, or content validation. An unauthenticated attacker creates an admin account, uploads a PHP web shell, and executes OS commands; live reproduction returned uid=0(root). The same endpoint also has a pre-auth SQL injection in the id parameter of the delete action. 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/contact-tracing-preauth-rce.html. |
|---|
| 원천 | ⚠️ https://tracexlabs.com/releases/contact-tracing-preauth-rce.html |
|---|
| 사용자 | SanthoshKumar (UID 101638) |
|---|
| 제출 | 2026. 09. 25. PM 04:05 (17 날 ago) |
|---|
| 모더레이션 | 2026. 10. 11. PM 10:00 (16 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 416792 [SourceCodester Contact Tracing System 1.0 Users.php?f=save move_uploaded_file img/id 권한 상승] |
|---|
| 포인트들 | 20 |
|---|