Check Point Advisories

Oracle Database Server MD2 package VALIDATE_GEOM procedure Buffer Overflow (CVE-2004-1364)

Check Point Reference: CPAI-2004-174
Date Published: 22 Dec 2009
Severity: Critical
Last Updated: Tuesday 22 December, 2009
Source:
Industry Reference:CVE-2004-1364
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable?
Vulnerability Description Oracle database can natively manage geographic and location data. MD2 is one of the packages installed to provide the location and spatial data operations. This package is owned by user MDSYS and granted public execution permission by default. An input validation vulnerability exists within a package included with the Oracle database server. The multidimensional package provides a function that allows for a stack buffer overflow when an overly long string is passed as a parameter. An authenticated attacker may exploit this issue to execute arbitrary code with permission of Oracle database process, or cause a denial of service condition. The behaviour of the target in simple attack case will depend on the length of the string passed to the vulnerable function. For Oracle 9i, a string length equal to or greater than 176 bytes will lead to the termination of the Oracle server causing a global denial of service condition. For Oracle 10g, a string length equal to or greater than 163 bytes will lead to the termination of the Oracle server causing a global denial of service condition. In case of a more sophisticated attack, arbitrary code may be executed. In this case the behaviour of the attacked target will depend on the nature of the injected code.

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 Oracle Database Server MD2 package VALIDATE_GEOM procedure Buffer 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:  Oracle Protection Violation.
Attack Information:  Oracle Database Server MD2 package VALIDATE_GEOM procedure buffer overflow

×
  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