Improper authentication in cdbattags lua-resty-jwt



Published: 2024-09-19
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-33531
CWE-ID CWE-287
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
lua-resty-jwt
Other software / Other software solutions

Vendor cdbattags (Christian Battaglia)

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Improper Authentication

EUVDB-ID: #VU97583

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: CVE-2024-33531

CWE-ID: CWE-287 - Improper Authentication

Exploit availability: No

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 update 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


Q & A

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.



###SIDEBAR###