| Title | SourceCodester Online Examination & Learning Management System 1.0 Unrestricted Upload |
|---|
| Description | The file /process_lesson.php in Online Examination & Learning Management System 1.0 does not validate file extensions during lesson file upload. Any authenticated user, including a student, can upload a .php webshell to uploads/lessons/ and achieve remote code execution. The authorization check only verifies $_SESSION['user_id'] exists, without inspecting the user's role. No .htaccess exists to block PHP execution in the upload directory. |
|---|
| Source | ⚠️ https://github.com/nuiifornet/A033/blob/main/OE-LMS-RCE-1-process_lesson.md |
|---|
| User | Fklov (UID 98102) |
|---|
| Submission | 06/06/2026 20:36 (28 days ago) |
|---|
| Moderation | 07/05/2026 06:08 (28 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 376365 [SourceCodester Onlne Examination & Learning Management System 1.0 /process_lesson.php user_id unrestricted upload] |
|---|
| Points | 20 |
|---|