Document Title: =============== SolveDirect SaaS v5.6.3 - XPath & SQL Vulnerabilities Release Date: ============= 2011-07-26 Vulnerability Laboratory ID (VL-ID): ==================================== 119 Product & Service Introduction: =============================== Die weltweit groesste SaaS Servicemanagement-Plattform. SolveDirect entwickelt und betreibt eine weltweit führende zentral gehostete IT Service Management Plattform mit Software-as-a-Service (SaaS) Lösungen für den Service- und Supportbereich. SolveDirect bietet mit modernsten und ITIL basierenden Funktionen höchst effizientes on demand Helpdesk Management (ServiceDesk SD²), eine Datenclearing-Plattform für die automatisierte Verbindung unterschiedlicher Systeme (SD.bridge) sowie - für komplexe Serviceorganisationen und Serviceprovider - die unternehmensweite Integration aller am Serviceprozess beteiligten Servicepartner und Systeme zur Steuerung aller Serviceprozesse und der gesamten Service Supply Chain (SD.cube). (Copy of the Vendor Homepage: http://www.solvedirect.com/) Abstract Advisory Information: ============================== Vulnerability-Lab Team discovered a XPath & SQL Injection Vulnerability on SolveDirect. Vulnerability Disclosure Timeline: ================================== 2011-07-27: Public or Non-Public Disclosure Discovery Status: ================= Published Affected Product(s): ==================== Exploitation Technique: ======================= Remote Severity Level: =============== High Technical Details & Description: ================================ A XPath & SQL Injection vulnerability is detected on SolveDirects SaaS Application. The vulnerability allows an remote attacker or local low privileged user account to inject/execute own sql statements via parameter to compromise the vulnerable application & dbms. Vulnerable Module(s): [+] main.jart --- Exception Logs --- JArt Messages: jart.JArtException: error in reading input date: Unparseable date: -1 jart.JArtException: error in reading input date: Unparseable date: -1 jart.JArtException: error in reading input date: Unparseable date: jart.JArtException: error in reading input date: Unparseable date: -1 Unable to evaluate : Quick-XPath error while evaluating$cmonth: Variable {null}:cmonth jart.JArtException: error in reading input date: Unparseable date: 01. Unable to evaluate : Quick-XPath error while evaluating $cmonth : Variable {null}:cmonth jart.JArtException: error in reading input date: Unparseable date: 01. Unable to evaluate : Quick-XPath error while evaluating $cmonth : Variable {null}:cmonth jart.JArtException: error in reading input date: Unparseable date: 01. Unable to evaluate : Quick-XPath error while evaluating $cmonth ; Variable {null}:cmonth jart.JArtException: error in reading input date: Unparseable date: 01. Unable to evaluate : Quick-XPath error while evaluating $cmonth : Variable {null}:cmonth jart.JArtException: error in reading input date: Unparseable date: 01. Unable to evaluate : Quick-XPath error while evaluating $ddmonth : Variable {null}:ddmonth Unable to evaluate : Quick-XPath error while evaluating $cmonth : Variable {null}:cmonth jart.JArtException: error in reading input date: Unparseable date: 01. Unable to evaluate : Quick-XPath error while evaluating $begindate : Variable {null}:begindate Unable to evaluate : Quick-XPath error while evaluating $cmonth2 : Variable {null}:cmonth2 Unable to evaluate : Quick-XPath error while evaluating $nextmonth : Variable {null}:nextmonth Unable to evaluate : Quick-XPath error while evaluating $prefmonth : Variable {null}:prefmonth Unable to evaluate : Quick-XPath error while evaluating $nextyear : Variable {null}:nextyear Unable to evaluate : Quick-XPath error while evaluating $prefyear : Variable {null}:prefyear Unable to evaluate : Quick-XPath error while evaluating $cmonth_as_int : Variable {null}:cmonth_as_int ... ... ... Unable to evaluate : Quick-XPath error while evaluating $begindate : Variable {null}:begindate Unable to evaluate : Quick-XPath error while evaluating $begindate : Variable {null}:begindate Unable to evaluate : Quick-XPath error while evaluating $cyear : Variable {null}:cyear Unable to evaluate : Quick-XPath error while evaluating $cmonth_as_int : Variable {null}:cmonth_as_int jart.JArtException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near and events.jartdb_deleted IS NULL and show_de = ja at line 1 Pictures: ../xpath-injection.png Proof of Concept (PoC): ======================= The vulnerability can be exploited by remote attackers or low privileged user accounts. For demonstration or reproduce ... Server: http://www.solvedirect.com Path: /jart/prj3/solve_direct/ File: main.jart Para: ?rel=de&reserve-mode=active&content-id=1238422495463&seldate=&curdate= ... &passval=&tloc= ... &ipr= References: http://www.solvedirect.com/jart/prj3/solve_direct/main.jart?rel=de&reserve-mode=active&content-id=1238422495463&seldate=&curdate=[SQL-Injection]&passval=&tloc=[SQL-Injection]&ipr=[SQL-Injection] Security Risk: ============== The security risk of the xpath- & sql-injection vulnerability is estimated as high. Credits & Authors: ================== Vulnerability Research Laboratory - Rem0ve Disclaimer & Information: ========================= The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties, either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability- Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases or trade with fraud/stolen material. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory. Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed), modify, use or edit our material contact (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission. Copyright © 2012 | Vulnerability Laboratory