Submit #847515: SourceCodester (ampoldev) Online Examination & LMS (CICT Portal) by ampoldev 2026-05-25 Improper Privilege Managementinfo

TitelSourceCodester (ampoldev) Online Examination & LMS (CICT Portal) by ampoldev 2026-05-25 Improper Privilege Management
BeschreibungThe public registration form at register.php renders an HTML <select> dropdown with role values (student, instructor). The server-side handler (auth_process.php) reads the role value directly from the POST body and inserts it into the users table without validation. An unauthenticated attacker can intercept the POST request and change the role parameter to any value, including "super_admin", gaining immediate administrative access to the entire system. No server-side allowlist is enforced. The vulnerability requires zero existing privileges and is exploitable by any internet user who can reach the registration endpoint.
Quelle⚠️ https://pastebin.com/Z4i5MGxk
Benutzer
 ameenkbrd (UID 98192)
Einreichung04.06.2026 08:56 (vor 1 Monat)
Moderieren04.07.2026 09:55 (1 month later)
StatusAkzeptiert
VulDB Eintrag376307 [SourceCodester Onlne Examination & Learning Management System 1.0 Registration Endpoint register.php role erweiterte Rechte]
Punkte17

Do you want to use VulDB in your project?

Use the official API to access entries easily!