CVE-2022-41948: Privilege Chaining with the user admin role in dhis2-core
DHIS 2 is an open source information system for data capture, management, validation, analytics and visualization. Affected versions are subject to a privilege escalation vulnerability. A DHIS2 user with authority to manage users can assign superuser privileges to themself by manually crafting an HTTP PUT request. Only users with the following DHIS2 user role authorities can exploit this vulnerability. Note that in many systems the only users with user admin privileges are also superusers. In these cases, the escalation vulnerability does not exist. The vulnerability is only exploitable by attackers who can authenticate as users with the user admin authority. As this is usually a small and relatively trusted set of users, exploit vectors will often be limited. DHIS2 administrators should upgrade to the following hotfix releases: 2.36.12.1, 2.37.8.1, 2.38.2.1, 2.39.0.1. The only known workaround to this issue is to avoid the assignment of the user management authority to any users until the patch has been applied.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2022-41948?
CVE-2022-41948 has been rated as a critical severity vulnerability.
How do I fix CVE-2022-41948?
To resolve CVE-2022-41948, update to a non-affected version of DHIS 2 as specified in the vendor's advisory.
What versions are affected by CVE-2022-41948?
CVE-2022-41948 affects DHIS 2 versions from 2.34.0 to 2.39.0.
What type of vulnerability is CVE-2022-41948?
CVE-2022-41948 is a privilege escalation vulnerability.
Who can exploit CVE-2022-41948?
Any DHIS 2 user with authority to manage users can exploit CVE-2022-41948.