Netlife Photosuite Pro Cross Site Scripting
Posted on 31 January 2016
Document Title: =============== Netlife Photosuite Pro - Client Side Cross Site Scripting Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1692 Release Date: ============= 2016-01-29 Vulnerability Laboratory ID (VL-ID): ==================================== 1692 Common Vulnerability Scoring System: ==================================== 3.3 Product & Service Introduction: =============================== Netlife Photosuite Pro is a CMS, designed for schools. Its offers a online Photo ordering service. (Copy of the Vendor Homepage: http://netlife.no/ ) Abstract Advisory Information: ============================== The Vulnerability Laboratory Core Research Team discovered a client-side cross site scripting web vulnerability in official Netlife Photosuite Pro, manufactured by Netlife AS. Vulnerability Disclosure Timeline: ================================== 2016-01-29: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== Netlife Product: Photosuite Pro - Content Management System 2016 Q1 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Technical Details & Description: ================================ A GET cross site scripting web vulnerability has been discovered in the official Netlife Photosuite Pro Content Management System. A vulnerability allows remote attackers to inject malicious script codes on the client-side of the affected web-application. The vulnerability is located in the `message` value of the `sections/prophoto/key.php` file. Remote attackers are able to inject own malicious script codes to the client-side of the affected web-application. The request method to inject is GET and the attack vector is client-side. The attacker inject the payload in the message value to execute the code in key.php. The security risk of the client-side web vulnerability is estimated as medium with a cvss (common vulnerability scoring system) count of 3.3. Exploitation of the non-persistent cross site scripting web vulnerability requires no web-application user account and no user interaction. Successful exploitation results in session hijacking, persistent phishings attacks, persistent external redirect and malware loads or persistent manipulation of affected or connected module context. Request Method(s): [+] GET Vulnerable Module(s): [+] sections/prophoto/ Vulnerable File(s): [+] key.php Vulnerable Parameter(s): [+] message Proof of Concept (PoC): ======================= The cross site scripting web vulnerability can be exploited by remote attackers without a web-application user account or user interaction. For security demonstration or to reproduce the vulnerability follow the provided information and steps below to continue. PoC: http://127.0.0,1/sections/prophoto/key.php?message=%3Cscript%3Ealert%28document.cookie%29;%3C/script%3E Reference(s): Examples http://studio.[DOMAIN].net/sections/prophoto/key.php?message=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E http://www.orders.[DOMAIN].com/sections/prophoto/key.php?message=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E http://www.[DOMAIN].co.uk/sections/prophoto/key.php?message=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E http://www.[DOMAIN].no/sections/prophoto/key.php?message=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E http://www.[DOMAIN].se/sections/prophoto/key.php?message=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E http://www.[DOMAIN].dk/sections/prophoto/key.php?message=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E http://www.verkkokauppa.[DOMAIN].fi/sections/prophoto/key.php?message=%3Cscript%3Ealert%28%22xss%22%29%3C/script%3E Solution - Fix & Patch: ======================= The vulnerability can be patched by a secure parse and encode of the vulnerable `message` value in the affected key.php file GET method request. Filter the input and restrict it by disallowing usage of special chars or script code tags to prevent client-side injection attacks. Security Risk: ============== The security risk of the client-side cross site scripting web vulnerability in Netlife Photosuite Pro web-application is estimated as medium. (CVSS 3.3) Credits & Authors: ================== Iran Cyber Security Group - 0x3a (ICG SEC) [Iran-Cyber.Net] [http://www.vulnerability-lab.com/show.php?user=Iran%20Cyber%20Security] 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.evolution-sec.com Contact: admin@vulnerability-lab.com - research@vulnerability-lab.com - admin@evolution-sec.com Section: magazine.vulnerability-db.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/ 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, source code, 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 research@vulnerability-lab.com) to get a permission. Copyright © 2016 | Vulnerability Laboratory - [Evolution Security GmbH]™ -- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com CONTACT: research@vulnerability-lab.com PGP KEY: http://www.vulnerability-lab.com/keys/admin@vulnerability-lab.com%280x198E9928%29.txt