Skip to content
SQL injection Advisory Beginner CVE-2020-6135

OS4Ed openSIS Validator.php SQL injection vulnerability

The stfid parameter in Validator.php is concatenated directly into an SQL query, allowing an authenticated attacker to inject SQL commands. This could let them read or modify database contents.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Medium 6.4 View original

An exploitable SQL injection vulnerability exists in the Validator.php 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 an SQL query by directly concatenating the unsanitised stfid GET parameter, without using parameterised queries or escaping.

Impact

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

What the attacker needed

Authenticated session (valid login)

The fix

The vendor provided a patch that resolved the issue, though the text does not describe the fix details.

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 query without proper handling, so an attacker can change the query's meaning. Here, the stfid value from the URL is placed straight into a database command, letting someone with a valid login run their own database commands.

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.