提交 #782291: https://www.campcodes.com/ Online Learning Management System V1.0 Unrestricted Upload信息

标题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

Do you want to use VulDB in your project?

Use the official API to access entries easily!