Vulnerability identifier: #VU97583
Vulnerability risk: High
CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-287
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
lua-resty-jwt
Other software /
Other software solutions
Vendor: cdbattags (Christian Battaglia)
Description
The vulnerability allows a remote attacker to bypass authentication process.
The vulnerability exists due to an error in when processing authentication requests. A remote attacker can bypass authentication process and gain unauthorized access to the application by sending a specially crafted JWT with an enc header with the value A256GCM.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
lua-resty-jwt: 0.2.3
External links
http://insinuator.net/2023/10/lua-resty-jwt-authentication-bypass/
http://github.com/cdbattags/lua-resty-jwt/issues/61
http://github.com/cdbattags/lua-resty-jwt/commit/d1558e2afefe868fea1e7e9a4b04ea94ab678a85
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.