Skip to content
SQL injection Advisory Beginner CVE-2020-6137CVE-2020-6138CVE-2020-6139CVE-2020-6140

OS4Ed openSIS Password Reset Multiple SQL injection vulnerabilities

Multiple SQL injection vulnerabilities exist in the password reset functionality of openSIS 7.3. An attacker could send crafted HTTP requests to access database information such as usernames and password hashes.

Yuri Kramarz Follow

Originally disclosed on Cisco Talos

Critical 9.8 View original

Multiple SQL injection vulnerabilities exist in the password reset 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 concatenating user-supplied request parameters directly into the query string without sanitisation or parameterisation.

What the attacker needed

None

The fix

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

How it was found

  1. Send a POST request to /opensis/ResetUserInfo.php with pass_user_type set to pass_parent and a crafted password_stf_email parameter.
  2. Send a POST request to /opensis/ResetUserInfo.php with pass_user_type set to pass_parent and a crafted uname parameter.
  3. Send a POST request to /opensis/ResetUserInfo.php with user_type_form set to username, uname_user_type set to uname_staff, and a crafted username_stf_email parameter.
  4. Send a POST request to /opensis/ResetUserInfo.php with user_type_form set to username, uname_user_type set to uname_student, and a crafted username_stn_id parameter.

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, several form fields on the password reset page are placed into SQL statements unsafely, so an attacker can trick the database into returning extra 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.