Yonyou KSOA SQL Injection Vulnerability in Agent Works Del JSP
Vulnerability
A SQL injection vulnerability has been identified in Yonyou KSOA version 9.0. The issue resides in the '/worksheet/agent_worksdel.jsp' file, where the application improperly handles the 'id' parameter in HTTP GET requests. This lack of validation allows remote, unauthenticated attackers to inject malicious SQL commands, potentially leading to unauthorized database access, data manipulation, or exploitation of the database server. The vulnerability affects systems using Microsoft SQL Server.
Impact
Exploitation of this vulnerability allows for SQL injection, with potential consequences including unauthorized database access, data leakage, data manipulation, and possibly gaining administrative control over the database server.
Reproduction
The vulnerability can be reproduced by sending a GET request to 'http://<target>:<port>/worksheet/agent_worksdel.jsp' with the 'id' parameter manipulated to include SQL injection payloads. This can be automated using tools like sqlmap, targeting the Microsoft SQL Server database management system.
Remediation
It is recommended to use prepared statements for database queries to prevent SQL injection, validate input parameters to ensure they meet expected formats, deploy a Web Application Firewall (WAF) to block SQL injection attempts, and disable detailed database error messages on the frontend.
Vulnerability Rating
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.
