Skip to content
SQL injection Advisory Beginner CVE-2020-6117CVE-2020-6119CVE-2020-6121CVE-2020-6118CVE-2020-6120CVE-2020-6122

OS4Ed openSIS CheckDuplicateStudent.php page SQL injection vulnerability

Multiple SQL injection vulnerabilities exist in the CheckDuplicateStudent.php page of OS4Ed openSIS 7.3 because user-supplied parameters are concatenated directly into SQL queries. An authenticated attacker could send a crafted HTTP request to inject SQL and potentially read or modify database contents.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

Multiple exploitable SQL injection vulnerabilities exist in the CheckDuplicateStudent.php page of OS4Ed openSIS 7.3. A specially crafted HTTP request 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 concatenates user-controlled request parameters directly into SQL query strings without parameterisation or escaping.

Impact

An authenticated attacker could read or modify data in the database, though the CVSS score limits confidentiality and integrity impact to low.

What the attacker needed

Authenticated session

The fix

The vendor provided a patch that Talos confirmed resolved the issue.

How it was found

  1. Log in to openSIS to obtain a valid session.
  2. Send a request to CheckDuplicateStudent.php with a crafted value in one of the vulnerable parameters (fn, mn, ln, byear, bmonth, or bday).
  3. Observe that the injected SQL alters the query result.

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 builds a database query by gluing together text from a user, so the user can sneak in extra database commands. Here, several form fields (like first name, last name, and birth date parts) are placed straight into a query without cleaning. Someone logged in could change those fields to make the database do something unintended, such as reveal other data.

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.