Vulnerability · Published May 9, 2023 · Assigned by GitHub_M
CVE-2023-31139DHIS2 Core unrestricted session cookies with Personal Access Tokens
Medium 4.3
In plain English
A medium-severity security flaw in dhis2-core from dhis2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 50% of all known vulnerabilities).
Official description
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 products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dhis2 | dhis2-core | >= 2.37, < 2.37.9.1>= 2.38, < 2.38.3.1>= 2.39, < 2.39.1.2 |
Weakness: CWE-613 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
References
- https://github.com/dhis2/dhis2-core/security/advisories/GHSA-44g3-9mp4-prv3 x_refsource_CONFIRM
- https://github.com/dhis2/dhis2-releases/blob/master/releases/2.37/ReleaseNote-2.37.9.1.md x_refsource_MISC
- https://github.com/dhis2/dhis2-releases/blob/master/releases/2.38/ReleaseNote-2.38.3.1.md x_refsource_MISC
- https://github.com/dhis2/dhis2-releases/blob/master/releases/2.39/ReleaseNote-2.39.1.2.md x_refsource_MISC