ZJ1983 ZZ SQL Injection Vulnerability in ZorgAction.java

Vulnerability

A critical SQL injection vulnerability has been identified in ZJ1983 ZZ versions up to 2024-08. The issue arises in the 'getUserOrgForUserId' function within 'ZorgAction.java', where improper handling of the 'userID' parameter allows for SQL injection. This vulnerability can be exploited remotely.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can manipulate SQL queries to the database. 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 request to the '/getUserOrgForUserId' endpoint with a crafted 'userId' parameter. The application will directly concatenate this parameter into the SQL query without proper sanitization, allowing for SQL injection. This vulnerability can be verified using SQL injection testing tools such as sqlmap.

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

Vulnerability Rating

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