| 标题 | SourceCodester Art Gallery Management System 2616bf6 SQL Injection |
|---|
| 描述 | SourceCodester Art Gallery Management System (commit 2616bf6) allows unauthenticated admin account creation. admin/ajax.php dispatches ?action=save_user to Action::save_user() (admin/admin_class.php:39) with no session or authorization check, and save_user() runs extract($_POST) and interpolates values into SQL. A plain type=1 POST fails on the schema (the real column is user_type), but the same unguarded endpoint is SQL-injectable: an unauthenticated POST with a crafted name field sets user_type='1' and creates a persistent administrator (live reproduction created poc_admin with user_type=1, then logged in and rendered the full admin navbar). Passwords are unsalted MD5. The same endpoint also exposes pre-auth delete_user, save_settings, save_art, save_event, save_artist, and save_order. 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/art-gallery-preauth-admin.html. |
|---|
| 来源 | ⚠️ https://tracexlabs.com/releases/art-gallery-preauth-admin.html |
|---|
| 用户 | SanthoshKumar (UID 101638) |
|---|
| 提交 | 2026-09-25 16時11分 (18 日前) |
|---|
| 管理 | 2026-10-12 23時01分 (17 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 417229 [SourceCodester Art Gallery Management System 1.0 Account Creation admin/admin_class.php Action::save_user name SQL注入] |
|---|
| 积分 | 20 |
|---|