Check Point Advisories

Oracle Database Server MDSYS.SDO_LRS Package SQL Injection (CVE-2006-5340)

Check Point Reference: CPAI-2006-270
Date Published: 3 Nov 2009
Severity: Critical
Last Updated: Tuesday 03 November, 2009
Source:
Industry Reference:CVE-2006-5340
Protection Provided by:

Security Gateway
R81, R80, R77, R75

Who is Vulnerable?
Vulnerability Description Oracle Database Server is an enterprise-level relational database application suite. To extend the functionality of the Oracle Database Server, extra packages of related program objects, i.e. procedures, functions, variables, constants, cursors, and exceptions, are provided in order to better manage the data. The included stored procedures and functions, or subprograms, are called by name and optionally passed a set of parameters. They are essentially a set of SQL statements that are stored on the server-side, usually as precompiled SQL. There exists an SQL injection vulnerability in the Oracle Database products. The flaw can be triggered by a crafted call to the MDSYS.SDO_LRS package function convert_to_lrs_layer, resulting in execution of privileged SQL statements. The attacker must have limited privileges to create PL/SQL functions on the target server in order to trigger the vulnerability. Exploitation of this vulnerability may result in executing undesired SQL statements. The exact behaviour of the target system is dependent on the intention of the attacker. Depending on the setup of the database and user privileges, it may be possible for an attacker to affect the target host beyond the confines of the database which would allow manipulation of the host system. If the exploitation is carried out through an application that stores database credentials, an unauthenticated remote attacker may be able to inject and execute arbitrary SQL commands on the back-end Oracle database server.

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 MDSYS.SDO_LRS Package SQL Injection 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 MDSYS.SDO_LRS package SQL injection

×
  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