dingfanzu CMS SQL Injection Vulnerability in loadShopInfo.php

Vulnerability

A critical SQL injection vulnerability has been identified in dingfanzu CMS versions prior to 20250210. The issue arises in the file loadShopInfo.php, where the shopId parameter is not properly validated or sanitized. This oversight allows remote attackers to manipulate the input and execute arbitrary SQL commands, potentially leading to unauthorized data access or modification.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a POST request to /ajax/loadShopInfo.php with a crafted shopId parameter that includes SQL injection payloads. The absence of input validation allows the injected SQL code to be executed by the database, demonstrating the vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
6.6
remediation
0.0
relevance
0.0
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.