OpenEMR 'add_edit_issue.php' SQL Injection Vulnerability
BID:50289
Info
OpenEMR 'add_edit_issue.php' SQL Injection Vulnerability
| Bugtraq ID: | 50289 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Oct 20 2011 12:00AM |
| Updated: | Mar 19 2015 09:11AM |
| Credit: | I2sec-dae jin Oh |
| Vulnerable: |
OpenEMR OpenEMR 4.1 |
| Not Vulnerable: | |
Discussion
OpenEMR 'add_edit_issue.php' SQL Injection Vulnerability
OpenEMR is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit may allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
OpenEMR 4.1.0 is vulnerable; prior versions may also be affected.
OpenEMR is prone to an SQL-injection vulnerability because the application fails to properly sanitize user-supplied input before using it in an SQL query.
A successful exploit may allow an attacker to compromise the application, access or modify data, or exploit vulnerabilities in the underlying database.
OpenEMR 4.1.0 is vulnerable; prior versions may also be affected.
Exploit / POC
OpenEMR 'add_edit_issue.php' SQL Injection Vulnerability
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/interface/patient_file/summary/add_edit_issue.php?issue=0+union
+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,user(),25,26,27--
Attackers can use a browser to exploit this issue.
The following example URI is available:
http://www.example.com/interface/patient_file/summary/add_edit_issue.php?issue=0+union
+select+1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,user(),25,26,27--
Solution / Fix
OpenEMR 'add_edit_issue.php' SQL Injection Vulnerability
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
Solution:
Currently we are not aware of any vendor-supplied patches. If you feel we are in error or if you are aware of more recent information, please mail us at: [email protected].
References
OpenEMR 'add_edit_issue.php' SQL Injection Vulnerability
References:
References:
- Product Download Page (OpenEMR)