GhostMail - (Status Message) Persistent Web Vulnerability
Vulnerability Laboratory ID (VL-ID):
Common Vulnerability Scoring System:
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
Vulnerability Disclosure Timeline:
2018-06-27: Public Disclosure (Vulnerability Laboratory)
Product: GhostMail (Chat) - Web Application (Online Service) 2015 Q2
Restricted authentication (user/moderator) - User privileges
Low User Interaction
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.
[+] Status Message
[+] 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
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.
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.
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 [email@example.com] -
Disclaimer & Information:
The information provided in this advisory is provided as it is without
any warranty. Vulnerability Lab disclaims all warranties, either
implied, including the warranties of merchantability and capability for
a particular purpose. Vulnerability-Lab or its suppliers are not liable
case of damage, including direct, indirect, incidental, consequential
loss of business profits or special damages, even if Vulnerability Labs
suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability mainly for
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
or vulnerabilities of religious-, militant- and racist-
hacker/analyst/researcher groups or individuals. We do not publish trade
phone numbers, conversations or anything else to journalists,
investigative authorities or private individuals.
Domains: www.vulnerability-lab.com - www.vulnerability-db.com -
Programs: vulnerability-lab.com/submit.php -
Feeds: vulnerability-lab.com/rss/rss.php -
Social: twitter.com/vuln_lab - facebook.com/VulnerabilityLab -
Any modified copy or reproduction, including partially usages, of this
file, resources or information requires authorization from Vulnerability
Permission to electronically redistribute this alert in its unmodified
form is granted. All other rights, including the use of other media, are
Vulnerability Lab Research Team or its suppliers. All pictures, texts,
advisories, source code, videos and other information on this website is
of vulnerability-lab team & the specific authors or managers. To record,
list, modify, use or edit our material contact (admin@) to get an ask
Copyright A(c) 2018 | Vulnerability Laboratory - [Evolution
VULNERABILITY LABORATORY - RESEARCH TEAM