Vulnerabilities · 2024 · Instantcms
CVE-2024-31212
Instantcms vulnerability
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.
Affected products
Instantcms. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Instantcms runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/instantsoft/icms2/security/advisories/GHSA-qx95-w566-73fw · Exploit
- github.com/instantsoft/icms2/blob/4691a1524780e74107f6009b48d91e17a81b0fa1/system/controll
- github.com/instantsoft/icms2/blob/4691a1524780e74107f6009b48d91e17a81b0fa1/system/core/mod
- user-images.githubusercontent.com/109034767/300806111-a33d9548-d99f-4034-bef3-fbd7fa62c37f
- nvd.nist.gov/vuln/detail/CVE-2024-31212
- cve.org/CVERecord?id=CVE-2024-31212
More vulnerabilities in Instantcms products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.