CVE-2023-31139: DHIS2 Core unrestricted session cookies with Personal Access Tokens

Published May 9, 2023
·
Updated

DHIS2 Core contains the service layer and Web API for DHIS2, an information system for data capture. Starting in the 2.37 branch and prior to versions 2.37.9.1, 2.38.3.1, and 2.39.1.2, Personal Access Tokens (PATs) generate unrestricted session cookies. This may lead to a bypass of other access restrictions (for example, based on allowed IP addresses or HTTP methods). DHIS2 implementers should upgrade to a supported version of DHIS2: 2.37.9.1, 2.38.3.1, or 2.39.1.2. Implementers can work around this issue by adding extra access control validations on a reverse proxy.

Affected Software

3 affected components
DHIS2 DHIS 2>=2.37.0<2.37.9.1
DHIS2 DHIS 2>=2.38.0<2.38.3.1
DHIS2 DHIS 2>=2.39.0<2.39.1.2

Event History

May 9, 2023
CVE Published
via MITRE·02:27 PM
Data Sourced
via MITRE·02:27 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-31139?

CVE-2023-31139 has a severity rating that indicates potential for exploitation through unrestricted session cookies.

2

How do I fix CVE-2023-31139?

To fix CVE-2023-31139, upgrade to DHIS2 Core versions 2.37.9.1, 2.38.3.1, or 2.39.1.2.

3

What versions of DHIS2 are affected by CVE-2023-31139?

CVE-2023-31139 affects DHIS2 Core versions before 2.37.9.1, 2.38.3.1, and 2.39.1.2.

4

What vulnerability does CVE-2023-31139 introduce?

CVE-2023-31139 introduces a vulnerability that allows a bypass of security mechanisms through unrestricted session cookies.

5

Is CVE-2023-31139 related to Personal Access Tokens?

Yes, CVE-2023-31139 is related to Personal Access Tokens that generate unrestricted session cookies in DHIS2.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203