CVE-2023-31138

DHIS2 Core vulnerable to Improper Access Control with PATCH requests

State
Published
Severity
7.1 High
Published
May 9, 2023
Updated
Jan 28, 2025
Reserved
Apr 24, 2023

Read the record on cve.org

Description

DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture. Starting in the 2.36 branch and prior to versions 2.37.9.1, 2.38.3.1, and 2.39.1.2, using object model traversal in the payload of a PATCH request, authenticated users with write access to an object may be able to modify related objects that they should not have access to. DHIS2 implementers should upgrade to a supported version of DHIS2 to receive a patch: 2.37.9.1, 2.38.3.1, or 2.39.1.2. It is possible to work around this issue by blocking all PATCH requests on a reverse proxy, but this may cause some issues with the functionality of built-in applications using legacy PATCH requests.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:LGitHub_M

Weaknesses

Affected Products

ProductVersions
dhis2-coredhis2
  • >= 2.36, < 2.37.9.1Affected
  • >= 2.38, < 2.38.3.1Affected
  • >= 2.39, < 2.39.1.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.