Check Point Advisories

CVS Max-dotdot Protocol Command Integer Overflow - Ver2 (CVE-2004-0417)

Check Point Reference: CPAI-2014-2349
Date Published: 28 Dec 2014
Severity: Medium
Last Updated: Sunday 28 December, 2014
Source:
Industry Reference:CVE-2004-0417
Protection Provided by:

Security Gateway
R77, R76, R75

Who is Vulnerable?
Vulnerability Description Concurrent Versions System (CVS) is an open-source network-transparent version control system. CVS itself does not listen for, or accept network connections. To implement remote repository access, it can be installed as an inetd service, or invoked with the rsh/ssh command. Data between the server and the client is piped to standard input/output file handles. When CVS is invoked by inetd, it will be passed a "pserver" or a "kserver" command line argument, which indicates to the server which authentication method will be used, either password authentication or Kerberos authentication. When it is invoked by rsh/ssh, the user authentication is handled through the rsh/ssh login procedure and CVS will be invoked as "cvs server". In all cases, the code steps into the same service function after authentication has succeeded. An integer overflow vulnerability exists in the way CVS handles a client request that contains a crafted Max-dotdot command. Exploitation of this vulnerability can lead to a denial of service on the vulnerable CVS server. If this vulnerability is triggered many times, a denial of service condition, caused by disk space exhaustion on the /tmp volume, may occur due to many CVS processes terminating without cleaning up its temporary directories and files. Since the attacker has no control on the data that is copied to the overflowed buffer, the injection and execution of a code would be very difficult. If shell code injection were possible, the actual behaviour would be dependant on the code injected.

Protection Overview

This protection will detect and block attempts to exploit this vulnerability.

In order for the protection to be activated,
update your Security Gateway product to the latest IPS update.

For information on how to update IPS, go to

SBP-2006-05
,
Protection tab and select the version of your choice.

Security Gateway R77 / R76 / R75 / R71 / R70

  1. In the IPS tab, click Protections and find the CVS Max-dotdot Protocol Command Integer Overflow - Ver2 protection using the Search tool and Edit the protection's settings.
  2. Install policy on all modules.

SmartView Tracker will log the following entries:

Attack Name:  HTTP Protocol Inspection.
Attack Information:  CVS Max-dotdot Protocol Command Integer Overflow - Ver2

×
  Feedback
This website uses cookies for its functionality and for analytics and marketing purposes. By continuing to use this website, you agree to the use of cookies. For more information, please read our Cookies Notice.
OK