CCBill WhereAmI.CGI Remote Arbitrary Command Execution Vulnerability



Date Discovered

July 3, 2003


It has been reported that whereami.cgi distributed by CCBill does not properly handle some types of input. Because of this, an attacker may be able to gain access to a system with the privileges of the web server process.

Technologies Affected

  • CCBill whereami.cgi


Block external access at the network boundary, unless external parties require service.
Filter network traffic of questionable integrity at border routers and network firewalls. Traffic should be filtered in both directions to prevent unauthorized traffic from entering or escaping network boundaries.

Deploy network intrusion detection systems to monitor network traffic for malicious activity.
Use network intrusion detection systems to monitor network traffic for anomalous activity and alert staff to potential attacks.

To limit the consequences of successful exploits, run the server in a closed or restricted environment.
Do not execute server software with elevated privileges. Place server processes in restricted or chrooted environments to prevent further compromise of system in the event of successful compromise of the server process.

Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: <>.



Discovery credited to Dayne Jordan.

© 1995- Symantec Corporation

Permission to redistribute this alert electronically is granted as long as it is not edited in any way unless authorized by Symantec Security Response. Reprinting the whole or part of this alert in any medium other than electronically requires permission from


The information in the advisory is believed to be accurate at the time of publishing based on currently available information. Use of the information constitutes acceptance for use in an AS IS condition. There are no warranties with regard to this information. Neither the author nor the publisher accepts any liability for any direct, indirect, or consequential loss or damage arising from use of, or reliance on, this information.

Symantec, Symantec products, Symantec Security Response, and are registered trademarks of Symantec Corp. and/or affiliated companies in the United States and other countries. All other registered and unregistered trademarks represented in this document are the sole property of their respective companies/owners.