OS4Ed openSIS CheckDuplicateStudent.php page SQL injection vulnerability
Multiple SQL injection vulnerabilities exist in the CheckDuplicateStudent.php page of OS4Ed openSIS 7.3 because user-supplied parameters are concatenated directly into SQL queries. An authenticated attacker could send a crafted HTTP request to inject SQL and potentially read or modify database contents.
Originally disclosed on Cisco Talos
Multiple exploitable SQL injection vulnerabilities exist in the CheckDuplicateStudent.php page of OS4Ed openSIS 7.3. A specially crafted HTTP request 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 concatenates user-controlled request parameters directly into SQL query strings without parameterisation or escaping.
Impact
An authenticated attacker could read or modify data in the database, though the CVSS score limits confidentiality and integrity impact to low.
What the attacker needed
Authenticated session
The fix
The vendor provided a patch that Talos confirmed resolved the issue.
How it was found
- Log in to openSIS to obtain a valid session.
- Send a request to CheckDuplicateStudent.php with a crafted value in one of the vulnerable parameters (fn, mn, ln, byear, bmonth, or bday).
- Observe that the injected SQL alters the query result.
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 a program builds a database query by gluing together text from a user, so the user can sneak in extra database commands. Here, several form fields (like first name, last name, and birth date parts) are placed straight into a query without cleaning. Someone logged in could change those fields to make the database do something unintended, such as reveal other 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.