Executive brief
A vulnerability exists in stumasy, a student management and social networking platform. An authenticated user can perform unauthorized database queries, which could lead to the exposure of sensitive information belonging to other students or users. This could result in a breach of student privacy and unauthorized access to internal system data.
Technical details
A SQL injection vulnerability exists in mjperpinosa stumasy up to commit 327d1b0f2915ba79d7ef8ebb74553e987609d9be. The flaw is located in the `Notes_controller::search_scratch_data` function within `application/PHP/objects/notes/search_scratch_data.php`. The application fails to validate or allowlist the `field_name` POST parameter before concatenating it into a SQL query. While the `value` parameter is handled via prepared statements, the `field_name` identifier is treated as trusted syntax. An authenticated remote attacker can exploit this to perform time-based blind SQL injection, allowing for the exfiltration of database contents. As of the advisory date, no official patch has been released by the maintainer.
Affected products
- mjperpinosa stumasy up to 327d1b0f2915ba79d7ef8ebb74553e987609d9be
Timeline
- 2026-06-05: disclosed: Issue reported on GitHub repository
- 2026-07-05: advisory: CVE published to NVD