WelcomeEnterpriseSmall BusinessHome & Home OfficePartnersAbout Symantec

Lib CGI Include Buffer Overflow Vulnerability

Risk
High

Date Discovered
11-27-2002

Description
Lib CGI is a freely available, open source CGI library for C programmers. It is available for Unix and Linux operating systems.

It has been reported that a buffer overflow exists in the Lib CGI development library. Due to improper bounds checking in an include file, programs making use of this include, or programs linked against libraries using this include could be vulnerable to a remote buffer overflow attack. This could result in an attacker gaining remote access with the privileges of the web server process.

Components Affected
Lib CGI Lib CGI 0.1

Recommendations
Block external access at the network boundary, unless service is required by external parties.
The filtering of untrusted network traffic may limit unauthorized access to resources, as well as prevent connectivity on arbitrary ports.

Deploy network intrusion detection systems to monitor network traffic for malicious activity.
Use network intrusion detection systems to identify attacks.

Run all server processes as non-privileged users with minimal access rights.
Do not execute server processes with elevated privileges.

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: vuldb@securityfocus.com .
Lib CGI Lib CGI 0.1:

References
Source: Remote Frame Pointer Overwrite vulnerability in LIB CGI in Language C.
URL: msg://bugtraq/20021127070501.20954.qmail@hackermail.com

Credits
Vulnerability discovery credited to "dong-h0un U" .


Copyright (c) 2002 by Symantec Corp.
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 symsecurity@symantec.com.

Disclaimer
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 SymSecurity 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.