Rapid7 Advisory R7-0023: Symantec Scan Engine File Disclosure Vulnerability
April 21, 2006 - There is a vulnerability in Symantec Scan Engine which allows unauthenticated remote users to download any file located under the Symantec Scan Engine installation directory. For instance the configuration file, the scanning logs, as well as the current virus definitions can all be accessed by any remote user using regular or specially crafted HTTP requests.
Nexpose, Rapid7's award-winning vulnerability assessment platform, checks for this vulnerability and other vulnerabilities we have discovered in Symantec Scan Engine. Visit http://www.rapid7.com to register for a free demo of Nexpose.
- Symantec Scan Engine v184.108.40.206
- Symantec Scan Engine v220.127.116.11
UNKNOWN (PROBABLY VULNERABLE):
- All v5.0.x.x
- Earlier versions
Symantec was notified of this vulnerability on January 17, 2006. They acknowledged the vulnerability, then provided us with a fixed version. Rapid7's advisory was publicly released on April 21, 2006.
Symantec Scan Engine stores multiple files inside its web root (the default directory is "C:\Program Files\Symantec\Scan Engine"). Most of the files are accessible by any unauthenticated user via regular URLs. For example the following URLs will download the log and corresponding data file for October 17th, 2005:
In the same way, virus definitions can be accessed from:
Such sensitive knowledge of installed virus definitions will allow an attacker to determine what viruses can be used to infect the network without detection.
Files ending with the '.xml' extension are protected by the HTTP daemon. However, the protection can be easily defeated by appending a trailing backslash to the filename. For example the configuration file configuration.xml, which contains the administrator's password hash, can be accessed by the following HTTP request:
GET /configuration.xml\ HTTP/1.0
The above request will yield the following configuration snippet:
<TempDir value="C:\Program Files\Symantec\Scan Engine\temp\"/>
<InstallDir value="C:\Program Files\Symantec\Scan Engine\"/>
This vulnerability was discovered by Joe Testa of Rapid7.
Upgrade to Symantec Scan Engine v18.104.22.168 or later. Another option is to disable the web interface of the scan engine by logging in, setting the TCP port from 8004 to 0, and then restarting the Scan Engine.
Disclaimer & Copyright
Rapid7, LLC is not responsible for the misuse of the information provided in our security advisories. These advisories are a service to the professional security community. There are NO WARRANTIES with regard to this information. Any application or distribution of this information constitutes acceptance AS IS, at the user's own risk. This information is subject to change without notice.
This advisory Copyright (C) 2006 Rapid7, LLC. Permission is hereby granted to redistribute this advisory, providing that no changes are made and that the copyright notices and disclaimers remain intact.