| 标题 | https://www.campcodes.com/ Online Learning Management System V1.0 Unrestricted Upload |
|---|
| 描述 | The Online Learning Management System (OLMS) suffers from a critical vulnerability categorized as Unrestricted Upload of File with Dangerous Type (CWE-434).
This flaw exists within the lesson attachment upload functionality handled by Crud_model.php. The application fails to enforce a secure whitelist for file extensions. Instead, it renames uploaded files using an MD5 hash but blindly appends the original, user-supplied extension (e.g., .php). Furthermore, the dynamically generated filename and its exact storage path are explicitly disclosed in the HTML source code of the frontend view (lessons.php).
As a result, an attacker can upload a malicious PHP web shell, easily retrieve its hidden path from the frontend, and execute arbitrary system commands, leading to complete Remote Code Execution (RCE) and server compromise. |
|---|
| 来源 | ⚠️ https://github.com/whatyourname12345/CVE/tree/main/OLMS |
|---|
| 用户 | chenkh (UID 96588) |
|---|
| 提交 | 2026-03-18 15時35分 (4 月前) |
|---|
| 管理 | 2026-04-04 15時20分 (17 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 355310 [Campcodes Complete Online Learning Management System 1.0 Crud_model.php add_lesson 权限提升] |
|---|
| 积分 | 20 |
|---|