Vulnerability Details : CVE-2022-24848
DHIS2 is an information system for data capture, management, validation, analytics and visualization. A SQL injection security vulnerability affects the `/api/programs/orgUnits?programs=` API endpoint in DHIS2 versions prior to 2.36.10.1 and 2.37.6.1. The system is vulnerable to attack only from users that are logged in to DHIS2, and there is no known way of exploiting the vulnerability without first being logged in as a DHIS2 user. The vulnerability is not exposed to a non-malicious user and requires a conscious attack to be exploited. A successful exploit of this vulnerability could allow the malicious user to read, edit and delete data in the DHIS2 instance's database. Security patches are now available for DHIS2 versions 2.36.10.1 and 2.37.6.1. One may apply mitigations at the web proxy level as a workaround. More information about these mitigations is available in the GitHub Security Advisory.
Vulnerability category: Sql Injection
Products affected by CVE-2022-24848
- cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*
- cpe:2.3:a:dhis2:dhis_2:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-24848
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 27 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-24848
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.5
|
MEDIUM | AV:N/AC:L/Au:S/C:P/I:P/A:P |
8.0
|
6.4
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
NIST | |
8.8
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
2.8
|
5.9
|
GitHub, Inc. |
CWE ids for CVE-2022-24848
-
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.Assigned by:
- nvd@nist.gov (Primary)
- security-advisories@github.com (Secondary)
References for CVE-2022-24848
-
https://github.com/dhis2/dhis2-core/security/advisories/GHSA-52vp-f7hj-cj92
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in OrgUnit program association · Advisory · dhis2/dhis2-core · GitHubMitigation;Third Party Advisory
-
https://github.com/dhis2/dhis2-core/commit/3b245d04a58b78f0dc9bae8559f36ee4ca36dfac
Merge pull request from GHSA-52vp-f7hj-cj92 · dhis2/dhis2-core@3b245d0 · GitHubPatch;Third Party Advisory
-
https://github.com/dhis2/dhis2-core/commit/ef04483a9b177d62e48dcf4e498b302a11f95e7d
Merge pull request from GHSA-52vp-f7hj-cj92 · dhis2/dhis2-core@ef04483 · GitHubPatch;Third Party Advisory
-
https://github.com/dhis2/dhis2-core/pull/10953
fix: Merge pull request from GHSA-52vp-f7hj-cj92 by ameenhere · Pull Request #10953 · dhis2/dhis2-core · GitHubIssue Tracking;Patch;Third Party Advisory
Jump to