提交 #1000527: SourceCodester Contact Tracing System 1/11 Unrestricted Upload of File with Dangerous Type信息

标题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 16時05分 (17 日前)
管理2026-10-11 22時00分 (16 days later)
状态已接受
VulDB条目416792 [SourceCodester Contact Tracing System 1.0 Users.php?f=save move_uploaded_file img/id 权限提升]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!