Skip to content
SQL injection Advisory Beginner CVE-2020-6129CVE-2020-6130CVE-2020-6131

OS4Ed openSIS course_period_id parameter multiple SQL injection vulnerabilities

Multiple SQL injection vulnerabilities exist in the course_period_id parameter of several openSIS pages. An authenticated attacker could send crafted requests to inject SQL commands, potentially reading or modifying database contents.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

Multiple exploitable SQL injection vulnerabilities exist in the courseperiodid parameters used in OS4Ed openSIS 7.3 pages. 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 concatenates the user-supplied course_period_id parameter directly into SQL queries without sanitisation or parameterisation.

Impact

An authenticated attacker could read or modify data in the database, with limited confidentiality and integrity impact as reflected in the CVSS score.

What the attacker needed

Authenticated user account

The fix

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

How it was found

  1. Authenticate to the openSIS application to obtain a valid session.
  2. Send a request to CpSessionSet.php with a crafted course_period_id parameter containing SQL injection.
  3. Send a request to MassDropSessionSet.php with a crafted course_period_id parameter containing SQL injection.
  4. Send a request to MassScheduleSessionSet.php with a crafted course_period_id parameter containing SQL 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 user input is inserted directly into a database query without proper handling, letting an attacker change the query's meaning. Here, the course_period_id value from the URL is concatenated into SQL statements, so a logged-in user could manipulate the database. The report shows three pages with this flaw.

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.