IdeaCMS SQL Injection Vulnerability in Article and Goods Functions

Vulnerability

A critical SQL injection vulnerability has been identified in IdeaCMS versions through 1.7. The issue arises in the Article and Goods functions within the file '/api/v1.index.article/getList.html'. The vulnerability is triggered by manipulating the 'field' parameter, allowing remote attackers to inject malicious SQL code. This could lead to unauthorized access to database information, such as admin credentials, and potentially allow for further exploitation of the application.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate database queries. This could result in unauthorized data access, data modification, or administrative control over the database. In this case, it was possible to extract the credentials of the mall administrator.

Reproduction

To reproduce this vulnerability, send a request to the '/api/v1.index.article/getList.html' or '/api/v1.index.goods/getList.html' endpoints. Include the 'field' parameter with a value that exploits the SQL injection vulnerability, such as a payload that concatenates SQL query results. The injection can be confirmed by successfully extracting data, such as admin credentials, from the database.

Remediation

Upgrade to IdeaCMS version 1.8, which addresses this vulnerability. The patched version is available for download on Gitee.

Added: Sep 1, 2025, 7:22 PM
Updated: Sep 1, 2025, 7:22 PM

Vulnerability Rating

Custom Algorithm
spread
2.2
impact
5.0
exploitability
6.8
remediation
7.7
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.