Skip to content
SQL injection Advisory Beginner CVE-2020-6126CVE-2020-6127CVE-2020-6128

OS4Ed openSIS CoursePeriodModal.php page multiple SQL injection vulnerabilities

Three parameters on the CoursePeriodModal.php page of openSIS 7.3 are placed into a database query without sanitisation, so an authenticated user can inject SQL. An attacker with a valid session could read or alter data the query touches.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

Multiple exploitable SQL injection vulnerabilities exist in the CoursePeriodModal.php page of OS4Ed openSIS 7.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

User-supplied request parameters are concatenated straight into an SQL statement without parameterisation or escaping.

Impact

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

What the attacker needed

A valid authenticated session

The fix

The vendor provided a patch that was confirmed to resolve the issue.

How it was found

  1. Log in to openSIS so a valid session cookie is available.
  2. Send a request to CoursePeriodModal.php with the course_period_id, id or meet_date parameter carrying injected SQL.
  3. Observe the database response to confirm 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.

A database query is a question the website asks its database, and here parts of the question are built directly from values the user sends in the URL. Because those values are not cleaned, a user can add extra database instructions and change what the question does. The attacker needs to be logged in, but once there they can tamper with the database behind the page.

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.