Vulnerability · Published Dec 8, 2022 · Assigned by GitHub_M
CVE-2022-41948Privilege Chaining with the user admin role in dhis2-core
Medium 6.7
In plain English
A medium-severity privilege mismanagement in dhis2-core from dhis2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dhis2 | dhis2-core | < 2.36.12.1>= 2.37.0.0, < 2.37.8.1>= 2.38.0.0, < 2.38.2.1>= 2.39.0.0, < 2.39.0.1 |
Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L
References
- https://github.com/dhis2/dhis2-core/security/advisories/GHSA-59fm-8432-2426 x_refsource_CONFIRM