Skip to content
SQL injection Advisory Beginner CVE-2020-27233CVE-2020-27234CVE-2020-27235CVE-2020-27236CVE-2020-27237CVE-2020-27238CVE-2020-27239CVE-2020-27240CVE-2020-27241

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.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

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.

Yuri Kramarz, on Cisco Talos

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

  1. Send an HTTP GET request to the getAssets.jsp endpoint with a crafted value in one of the vulnerable parameters.
  2. 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.

More by Yuri Kramarz

View all

57 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

SQL injection

The lesson behind this report.

Input reaches a database query as code, letting an attacker read or change data the application never meant to expose.