SQL Injection in MRBS plugin for Moodle (view_entry.php)
A SQL injection vulnerability exists in the MRBS plugin for Moodle, specifically in the ing/blocks/mrbs/code/web/view_entry.php file. The vulnerability is due to insufficient sanitization of the 'id' parameter, allowing remote attackers to inject arbitrary SQL commands into database queries.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary SQL commands against the backend database. This can lead to unauthorized data access, data modification, or potentially full compromise of the Moodle application depending on database privileges.
If you can’t patch tonight, do this now.
As an interim measure, implement web application firewall (WAF) rules to block malicious SQL injection attempts targeting the 'id' parameter. Additionally, ensure that the database user used by Moodle has the least privileges necessary.
Patch, then assume compromise.
Upgrade to a fixed version of the MRBS plugin for Moodle where input validation and parameterized queries are properly implemented for the 'id' parameter in view_entry.php. If no patch is available, restrict access to the vulnerable script and monitor for suspicious activity.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.