You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The application's download_id_union method executes an SQL query with executeQuery, at line 24 of /src/main/webapp/vulnerability/sqli/download_id_union.jsp. The application constructs this SQL query by embedding an untrusted string into the query without proper sanitization. The concatenated string is submitted to the database, where it is parsed and executed accordingly.
An attacker would be able to inject arbitrary syntax and data into the SQL query, by crafting a malicious payload and providing it via the input ""fileid""; this input is then read by the download_id_union method at line 18 of /src/main/webapp/vulnerability/sqli/download_id_union.jsp. This input then flows through the code, into a query and to the database server - without sanitization.
This may enable an SQL Injection attack.
Result #1: Severity: HIGH State: TO_VERIFY Status: RECURRENT Attack Vector:
The text was updated successfully, but these errors were encountered:
cyates-checkmarx
changed the title
SQL_Injection @ download_id_union.jsp
SQL_Injection @ /src/main/webapp/vulnerability/sqli/download_id_union.jsp
Dec 11, 2023
Checkmarx (SAST): SQL_Injection
Security Issue: Read More about SQL_Injection
Checkmarx Project: cyates-checkmarx/JVL
Repository URL: https://github.com/cyates-checkmarx/JVL
Branch: master
Scan ID: 6bf2c567-d73e-490c-ac86-a35dd14d497b
The application's download_id_union method executes an SQL query with executeQuery, at line 24 of /src/main/webapp/vulnerability/sqli/download_id_union.jsp. The application constructs this SQL query by embedding an untrusted string into the query without proper sanitization. The concatenated string is submitted to the database, where it is parsed and executed accordingly.
An attacker would be able to inject arbitrary syntax and data into the SQL query, by crafting a malicious payload and providing it via the input ""fileid""; this input is then read by the download_id_union method at line 18 of /src/main/webapp/vulnerability/sqli/download_id_union.jsp. This input then flows through the code, into a query and to the database server - without sanitization.
This may enable an SQL Injection attack.
Result #1:
Severity: HIGH
State: TO_VERIFY
Status: RECURRENT
Attack Vector:
1. ""fileid"": /src/main/webapp/vulnerability/sqli/download_id_union.jsp[18,40]
2. getParameter: /src/main/webapp/vulnerability/sqli/download_id_union.jsp[18,39]
3. fileid: /src/main/webapp/vulnerability/sqli/download_id_union.jsp[18,12]
4. fileid: /src/main/webapp/vulnerability/sqli/download_id_union.jsp[19,25]
5. fileid: /src/main/webapp/vulnerability/sqli/download_id_union.jsp[24,75]
6. executeQuery: /src/main/webapp/vulnerability/sqli/download_id_union.jsp[24,34]
Review result in Checkmarx One: SQL_Injection
The text was updated successfully, but these errors were encountered: