Deerwms Deer-WMS-2 SQL Injection Vulnerability in Department List Management

Vulnerability

A critical SQL injection vulnerability has been identified in DeerWMS Deer-WMS-2 versions up to 3.3. The issue arises in the department list management feature, specifically within the '/system/dept/list' endpoint. The vulnerability is caused by user-controllable parameters that are not properly sanitized, allowing attackers to manipulate the 'params[dataScope]' argument and inject malicious SQL. This exploitation can be performed remotely, potentially leading to unauthorized access to sensitive database information or complete control over the server.

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. According to the vulnerability's VulDB entry, successful exploitation could also result in complete control over the server.

Reproduction

To reproduce this vulnerability, send a GET request to the '/system/dept/list' endpoint with a crafted 'params[dataScope]' parameter that includes SQL injection payloads. The absence of input sanitization and the lack of prepared statements in the SQL query execution allow the injected SQL code to be executed by the database. The injection can be verified by observing the application's response, which may include database information or indicate a SQL error.

Added: Jul 25, 2025, 8:16 PM
Updated: Jul 25, 2025, 8:16 PM

Vulnerability Rating

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