SQL Injection in Instantcms
CVE-2024-31212
InstantCMS is a free and open source content management system. A SQL injection vulnerability affects instantcms v2.16.2 in which an attacker with administrative privileges can cause the application to execute unauthorized SQL code. The vulnerability exists in index_chart_data action, which receives an input from user and passes it unsanitized to the core model `filterFunc` function that further embeds this data in an SQL statement. This allows attackers to inject unwanted SQL code into the statement. The `period` should be escaped before inserting it in the query. As of time of publication, a patched version is not available.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
EPSS: 0.009 (54.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L.
Affected products
- Instantcms — versions 2.16.2
- Instantsoft Icms2 — versions = 2.16.2
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Exploit, Vendor Advisory)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC)
- security-advisories@github.com (Permissions Required, x_refsource_MISC)
Frequently asked questions
- What is CVE-2024-31212?
- CVE-2024-31212 is a medium-severity vulnerability in Instantcms, classified under Improper Input Validation. CVSS score: 6.7/10. Published 2024-04-04.
- How severe is CVE-2024-31212?
- Medium severity. CVSS v3 base score is 6.7 out of 10.
- Is CVE-2024-31212 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.