Skip to main content
← All vulnerabilities
CVE-2023-31139

DHIS2 Core unrestricted session cookies with Personal Access Tokens

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.37.9.1, 2.38.3.1, 2.39.1.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • dhis2 dhis2-core

    From 2.37 · fixed in 2.37.9.1; From 2.38 · fixed in 2.38.3.1; From 2.39 · fixed in 2.39.1.2

References 4

GitHub · dhis2/dhis2-core

GitHub · dhis2/dhis2-releases