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.
Originally disclosed on Cisco Talos
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.
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
- Send a POST request to /opensis/ResetUserInfo.php with pass_user_type set to pass_parent and a crafted password_stf_email parameter.
- Send a POST request to /opensis/ResetUserInfo.php with pass_user_type set to pass_parent and a crafted uname parameter.
- 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.
- 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.