CVE-2022-41948 Privilege Chaining with the user admin role in dhis2-core

Medium 6.7 Published Updated

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.

Sources

Also known as GHSA-59fm-8432-2426.

Is CVE-2022-41948 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free