CyberRota Analysis
AI-GeneratedApiAdmin versions 5.0 and earlier are susceptible to a Directory Traversal vulnerability in the file-upload functionality, allowing authenticated admin users to upload malicious PHP files without proper validation. This flaw enables remote code execution, posing a significant risk to the server's integrity and security. Organizations using ApiAdmin should prioritize remediation to prevent potential exploitation by malicious actors.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
ApiAdmin v5.0 and before is vulnerable to Directory Traversal. The admin file-upload endpoint POST /admin/Index/upload in ApiAdmin takes the uploaded file's extension verbatim there is no whitelist, blacklist or content check and move_uploaded_file() drops the file into the web-accessible directory public/upload/Ymd/. Any logged-in admin user can upload a .php file and reach it directly over HTTP, achieving remote code execution on the server.