Skip to content
SQL injection Advisory Intermediate CVE-2020-27229CVE-2020-27230CVE-2020-27231

OpenClinic GA web portal multiple SQL injection vulnerabilities in 'patientslist.do' page

Multiple SQL injection vulnerabilities exist in the patientslist.do page of OpenClinic GA 5.173.3, specifically in the findPersonID, findSector, and findDistrict parameters. An authenticated attacker could send crafted HTTP requests to inject SQL commands, potentially leading to data disclosure or modification.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

A number of exploitable SQL injection vulnerabilities exists in ‘patientslist.do’ page of OpenClinic GA 5.173.3 application. 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-supplied input directly into the query string without proper sanitisation or parameterisation.

Impact

An authenticated attacker could exploit these vulnerabilities to read or modify data in the database, potentially compromising patient information or other sensitive records.

What the attacker needed

Authenticated access to the application

How it was found

  1. Log in to the OpenClinic GA application.
  2. Send a POST request to the patientslist.do endpoint with a crafted value in the findPersonID parameter.
  3. Send a POST request to the patientslist.do endpoint with a crafted value in the findSector parameter.
  4. Send a POST request to the patientslist.do endpoint with a crafted value in the findDistrict parameter.

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 a type of attack where a malicious user inserts database commands into input fields, tricking the application into running those commands. In this case, an attacker who is already logged in can manipulate certain search fields on a patient list page to execute their own database queries, which could let them read or change data they shouldn't 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.