PT-2024-23855 · Unknown · Instantcms

U32I

·

Published

2024-04-04

·

Updated

2025-01-17

·

CVE-2024-31212

CVSS v3.1

7.2

High

VectorAV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions InstantCMS version 2.16.2
Description A SQL injection issue affects the application, allowing an attacker with administrative privileges to execute unauthorized SQL code. The vulnerability exists in the index chart data action, which receives user input and passes it unsanitized to the core model filterFunc function, embedding this data in an SQL statement. This enables attackers to inject unwanted SQL code into the statement. The period variable should be escaped before inserting it into the query.
Recommendations As a temporary workaround, consider disabling the index chart data action until a patch is available. Restrict access to the filterFunc function to minimize the risk of exploitation. Avoid using the period variable in the affected SQL statement until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

SQL injection

RCE

Weakness Enumeration

Related Identifiers

CVE-2024-31212
GHSA-QX95-W566-73FW

Affected Products

Instantcms