CVE-2022-41948 Privilege Chaining with the user admin role in dhis2-core
Authenticated users with user management authority can escalate to superuser privileges via crafted HTTP requests, requiring an upgrade to secure the system.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-41948?
CVE-2022-41948 is a medium-severity vulnerability in dhis2-core, published on 8 Dec 2022. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
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.
Weakness: CWE-269
Which versions are affected by CVE-2022-41948?
It affects 1 product.
Products include Dhis2 Dhis 2.
How do I fix CVE-2022-41948?
No fix has been published for CVE-2022-41948 yet. Limit exposure of the affected software until one is available.
Is CVE-2022-41948 being exploited?
There is no known exploitation of CVE-2022-41948 in the wild and no public exploit code.
Other vulnerabilities in dhis2-core
- CVE-2022-24848 SQL Injection in DHIS2's in OrgUnit program association
- CVE-2021-39179 SQL Injection in DHIS2 Tracker API
- CVE-2021-32704 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in dhis2-core
- CVE-2021-41187 SQL Injection in DHIS2 Tracker API
- CVE-2023-31138 DHIS2 Core vulnerable to Improper Access Control with PATCH requests
Sources
Also known as GHSA-59fm-8432-2426.