GhostMail Status Message HTML Injection

2018.07.19
Risk: Low
Local: No
Remote: Yes
CVE: N/A
CWE: N/A

Document Title: =============== GhostMail - (Status Message) Persistent Web Vulnerability References (Source): ==================== http://www.vulnerability-lab.com/get_content.php?id=1470 Release Date: ============= 2018-06-27 Vulnerability Laboratory ID (VL-ID): ==================================== 1470 Common Vulnerability Scoring System: ==================================== 4 Vulnerability Class: ==================== Script Code Injection Current Estimated Price: ======================== 1.000a! - 2.000a! Product & Service Introduction: =============================== Sign up to military grade encrypted GhostMail and enjoy instant free and secure email & chat. No download or installs needed. GhostMail is your new secure email & chat platform, with great features like self destruction, two factor login and much more... Join free today and start enforcing your privacy and online rights. (Copy of the Vendor Homepage: https://www.ghostmail.com/ ) Abstract Advisory Information: ============================== The vulnerability laboratory core research team discovered an application-side vulnerability in the official GhostMail chat online service web-application. Vulnerability Disclosure Timeline: ================================== 2018-06-27: Public Disclosure (Vulnerability Laboratory) Discovery Status: ================= Published Affected Product(s): ==================== GhostCom Ltd. Product: GhostMail (Chat) - Web Application (Online Service) 2015 Q2 Exploitation Technique: ======================= Remote Severity Level: =============== Medium Authentication Type: ==================== Restricted authentication (user/moderator) - User privileges User Interaction: ================= Low User Interaction Disclosure Type: ================ Bug Bounty Program Technical Details & Description: ================================ An application-side html injection web vulnerability has been discovered in the official GhostMail chat web-application. The vulnerability allows to inject unauthorized malicious script codes on the application-side of the affected module. The issue exists in chat status of the application and is remotly exploitable against other ghostmail user accounts. The request method to inject is POST and the attack vector is located on the application-side of the affected online service web-application. The encoding of the status message in the chat client is broken. Local and remote attackers can use the lack of validation to perform html injection attacks to compromise user/moderator/admin session data. The security risk of the html injection web vulnerability is estimated as medium with a cvss count of 4.0. Exploitation of the issue requires a low privileged web-application user account and no direct user interaction. Successful exploitation of the application-side vulnerability results in session hijacking, persistent phishing, persistent external redirects and persistent manipulation affected or connected module context. Vulnerable Domain(s): [+] Ghostmail.com Vulnerable Module(s): [+] Status Message Vulnerable Parameter(s): [+] Status message body context Proof of Concept (PoC): ======================= The html injection web vulnerability can be exploited by local and remote attackers with low user interaction and low privileged application user account. For security demonstration or to reproduce the security vulnerability follow the provided information and steps below to continue. Manual Steps to reproduce the vulnerability ... 1. Register an account and login to the ghostmail application 2. Move to the chat status contents 3. Close the tag of title with double quote " 4. Now, add a new malicious content as payload in the status title for the chat 5. Start to chat and in the same moment the execution of the script code occurs at both party sides of the client 6. Successful reproduce of the vulnerability! Note: There is no filter validation or mechanism in place to prevent an execution within the ghostmail web-application. Reference(s): https://www.ghostmail.com/ Solution - Fix & Patch: ======================= The vulnerability can be patched by a parse and encode of the vulnerable status mesage in the ghostmail chat client. The issue has been reported in 2016 Q4 (2016-10-01) and was finally resolved in 2017 Q3 - Q4 by the ghostmail developer team. Security Risk: ============== The security risk of the application-side input validation web vulnerability in the chat module is estimated as medium (CVSS 4.0). Credits & Authors: ================== Vulnerability-Lab [research@vulnerability-lab.com] - https://www.vulnerability-lab.com/show.php?user=Vulnerability-Lab 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 Labs 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 incidental or consequential 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. We have no need for criminal activities or membership requests. We do not publish advisories or vulnerabilities of religious-, militant- and racist- hacker/analyst/researcher groups or individuals. We do not publish trade researcher mails, phone numbers, conversations or anything else to journalists, investigative authorities or private individuals. Domains: www.vulnerability-lab.com - www.vulnerability-db.com - www.evolution-sec.com Programs: vulnerability-lab.com/submit.php - vulnerability-lab.com/list-of-bug-bounty-programs.php - vulnerability-lab.com/register.php Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab 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 an ask permission. Copyright A(c) 2018 | Vulnerability Laboratory - [Evolution Security GmbH]aC/ -- VULNERABILITY LABORATORY - RESEARCH TEAM SERVICE: www.vulnerability-lab.com

References:

http://www.vulnerability-lab.com/get_content.php?id=1470


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top