CVE-2021-4314 Auth bypass in Zowe
Attackers can bypass JWT authentication to impersonate any user if a specific IBM z/OS APAR is missing, leading to unauthorized access and privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-4314?
CVE-2021-4314 is a medium-severity authentication bypass vulnerability in Open Mainframe Project Zowe, published on 18 Jan 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
It is possible to manipulate the JWT token without the knowledge of the JWT secret and authenticate without valid JWT token as any user. This is happening only in the situation when zOSMF doesn’t have the APAR PH12143 applied. This issue affects: 1.16 versions to 1.19. What happens is that the services using the ZAAS client or the API ML API to query will be deceived into believing the information in the JWT token is valid when it isn’t. It’s possible to use this to persuade the southbound service that different user is authenticated.
Which versions are affected by CVE-2021-4314?
It affects 1 product.
Products include Linuxfoundation Zowe Api Mediation Layer.
How do I fix CVE-2021-4314?
No fix has been published for CVE-2021-4314 yet. Limit exposure of the affected software until one is available.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-4314 being exploited?
There is no known exploitation of CVE-2021-4314 in the wild and no public exploit code.
Other vulnerabilities in Open Mainframe Project Zowe
Sources
Also known as GHSA-jrmv-h6h9-gcm3.