JEEWMS SQL Injection Vulnerability in CgExportExcelController

Vulnerability

A SQL injection vulnerability has been identified in JEEWMS version 20250820, specifically within the exportXls function of the CgExportExcelController.java file. This vulnerability arises from inadequate validation of user input, allowing attackers to inject malicious SQL queries through the 'configId' parameter. Exploitation of this vulnerability could lead to unauthorized database access, data manipulation, and leakage of sensitive information.

Impact

Exploitation of this vulnerability allows for SQL injection, enabling attackers to manipulate database queries. This could result in unauthorized access to the database, modification or deletion of data, and extraction of sensitive information.

Reproduction

The vulnerability can be reproduced by sending a GET request to the 'cgExportExcelController.do' endpoint with the 'exportXls' parameter. The 'configId' parameter should be crafted to include a SQL injection payload, such as a conditional statement that exploits the application's SQL query handling. This crafted request can be sent using tools like SQLMap, which automates the process of finding and exploiting SQL injection vulnerabilities.

Remediation

To address this vulnerability, it is recommended to implement prepared statements and parameter binding to separate SQL code from user input, conduct thorough input validation and filtering, and minimize database user permissions to the least required for operations.

Added: Oct 10, 2025, 5:22 PM
Updated: Oct 10, 2025, 7:21 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
8.7
remediation
0.0
relevance
0.7
threat
6.4
urgency
2.9
incentive
5.8

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