| Title | Seo Panel 6.0.0 Unrestricted File Upload |
|---|
| Description | [Resubmission of #885199]
Product source: Seo Panel, official website https://www.seopanel.org/ , source code repository https://github.com/seopanel/Seo-Panel . Affected version: 6.0.0.
Seo Panel 6.0.0 contains an unrestricted file upload vulnerability in the website import functionality (websites.php?sec=import). A normal authenticated user, without administrator privileges, can upload a file named shell.php by declaring the multipart Content-Type as text/csv. The backend only calls mime_content_type() on the temporary file and does not restrict the original file extension, does not rename the file, and moves it directly into the web-accessible tmp/ directory. The uploaded PHP file is therefore reachable over HTTP at /tmp/shell.php and executed by the PHP interpreter, leading to remote code execution in the context of the web server user.
The upload content must begin with CSV-like text (for example "a,b") so that the MIME check passes; a .php extension is nevertheless preserved.
Vulnerable code locations:
- websites.php:80
- controllers/website.ctrl.php:721, 724, 725
Classification: CWE-434 (Unrestricted Upload of File with Dangerous Type), leading to CWE-94 code execution. CVSS 3.1 base score 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).
The vendor was notified by email before publication, and the issue has been addressed in the latest release. The exact version and the fix commit could be provided to the moderation team on request. |
|---|
| Source | ⚠️ https://github.com/Leousum/VulnPoC/blob/main/Seo-Panel_6.0.0/arbitrary_file_upload.md |
|---|
| User | Leousum (UID 37212) |
|---|
| Submission | 10/20/2026 10:58 (29 days ago) |
|---|
| Moderation | 11/18/2026 20:12 (29 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 439701 [SEO Panel 6.0.0 Website Import website.ctrl.php mime_content_type website_csv_file unrestricted upload] |
|---|
| Points | 20 |
|---|