| Titel | SourceCodester Art Gallery Management System 2616bf6 SQL Injection |
|---|
| Beschreibung | 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. |
|---|
| Quelle | ⚠️ https://tracexlabs.com/releases/art-gallery-preauth-admin.html |
|---|
| Benutzer | SanthoshKumar (UID 101638) |
|---|
| Einreichung | 25.09.2026 16:11 (vor 18 Tagen) |
|---|
| Moderieren | 12.10.2026 23:01 (17 days later) |
|---|
| Status | Akzeptiert |
|---|
| VulDB Eintrag | 417229 [SourceCodester Art Gallery Management System 1.0 Account Creation admin/admin_class.php Action::save_user name SQL Injection] |
|---|
| Punkte | 20 |
|---|