Skip to content
SQL injection Advisory Beginner CVE-2020-6123CVE-2020-6124

OS4Ed openSIS email parameter SQL injection vulnerability

The email parameter in EmailCheck.php and EmailCheckOthers.php is concatenated directly into SQL queries, allowing an authenticated attacker to inject SQL commands. This could lead to unauthorised data access or modification.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

An exploitable sql injection vulnerability exists in the email parameter functionality 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

The application builds SQL queries by directly concatenating the user-supplied email parameter without parameterisation or escaping.

Impact

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

What the attacker needed

Authenticated session (valid login)

The fix

The issue was fixed by the vendor, who provided a patch that was confirmed to resolve the issue.

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 into a database command without proper handling, letting an attacker change the command's meaning. Here, the email value from the URL is placed straight into database queries, so a crafted value can run extra SQL. An attacker with a valid login could read or alter data in the database.

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.