Skip to content

CVE-2023-31138 DHIS2 Core vulnerable to Improper Access Control with PATCH requests

MediumCVSS 6.5 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
dhis2 dhis 2 >= 2.36.0, < 2.37.9.1; >= 2.38.0, < 2.38.3.1; >= 2.39.0, < 2.39.1.2 2.37.9.1, 2.38.3.1, 2.39.1.2 Fixed
dhis2-core = >= 2.36, < 2.37.9.1; = >= 2.38, < 2.38.3.1; = >= 2.39, < 2.39.1.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
dhis2-core = >= 2.36, < 2.37.9.1 No fix listed
dhis2-core = >= 2.38, < 2.38.3.1 No fix listed
dhis2-core = >= 2.39, < 2.39.1.2 No fix listed
dhis2 dhis 2 >= 2.36.0, < 2.37.9.1 2.37.9.1
dhis2 dhis 2 >= 2.38.0, < 2.38.3.1 2.38.3.1
dhis2 dhis 2 >= 2.39.0, < 2.39.1.2 2.39.1.2

References