OpenClinic GA web portal multiple SQL injection vulnerabilities in the 'getAssets.jsp' page
Multiple SQL injection vulnerabilities exist in the getAssets.jsp page of OpenClinic GA 5.173.3 because user-supplied parameters are concatenated directly into SQL queries. An attacker could send a crafted HTTP request to execute arbitrary SQL commands, potentially reading or modifying database data.
Originally disclosed on Cisco Talos
Multiple exploitable SQL injection vulnerabilities exists in ‘getAssets.jsp’ page of OpenClinic GA 5.173.3. A specially crafted HTTP request can lead to SQL injection.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The application builds SQL queries by concatenating user-controlled parameters directly into the query string without proper sanitisation or parameterisation.
Impact
An attacker could execute arbitrary SQL commands, potentially leading to data disclosure or modification, though the CVSS score indicates limited confidentiality and integrity impact.
What the attacker needed
Access to the web interface; No authentication required
How it was found
- Send an HTTP GET request to the getAssets.jsp endpoint with a crafted value in one of the vulnerable parameters.
- The application uses the parameter to build an SQL query and executes it, allowing the injection.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SQL injection is when a program puts user input directly into a database command without checking it, so an attacker can change the command. Here, many search fields on a hospital asset page are inserted into the database query, letting an attacker run their own database commands. This could let them see or change data they should not access.
What is SQL injection?
Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.