Check Point Advisories

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

Check Point Reference: CPAI-2004-153
Date Published: 15 Nov 2009
Severity: Low
Last Updated: Tuesday 25 September, 2018
Industry Reference:CVE-2004-0417
Protection Provided by:

Security Gateway
R81, R80, R77, 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, click on Protection tab and select the version of your choice.

Security Gateway R80 / R77 / R75

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

This protection's log will contain the following information:

Attack Name:  Application Servers Protection Violation.
Attack Information:  CVS Max-dotdot Protocol Command Integer Overflow

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.