search menu icon-carat-right cmu-wordmark

CERT Coordination Center


Oracle9i Application Server Apache PL/SQL module vulnerable to buffer overflow via HTTP Authorization header

Vulnerability Note VU#878603

Original Release Date: 2002-02-28 | Last Revised: 2002-03-15

Overview

A buffer overflow vulnerability exists in the Apache Procedural Language/Structured Query Language (PL/SQL) module used by Oracle9i Application Server (iAS). An HTTP Authorization header with a crafted password parameter could allow an unauthenticated remote attacker to cause a denial of service or execute arbitrary code with the privileges of the Apache service.

Description

NGSSoftware has released Insight Security Research Advisory #NISR06022002B that describes a number of vulnerabilities in the Apache PL/SQL module used by Oracle9i Application Server (iAS). This document addresses a buffer overflow vulnerability caused by a malformed HTTP Authorization request.

Oracle iAS uses the Apache HTTP Server to provide web services, including access to stored procedures via the Oracle PL/SQL module (modpplsql or mod_plsql). In iAS, PL/SQL is used to communicate with the database and generate HTML that can be interpreted by a web browser. The PL/SQL module handles authentication requests for various elements of Oracle iAS, such as stored procedures and Database Access Descriptors (DAD). If necessary, the PL/SQL module will prompt for credentials using the Authorization mechanism of the HTTP protocol. Section 14.8 of RFC 2616 describes HTTP Authorization and RFC 2617 describes the Basic and Digest HTTP Authentication schemes. A malformed HTTP Authorization request that contains a crafted password parameter could trigger a buffer overflow, executing arbitrary code with the privileges of the Apache service.

The vulnerable PL/SQL module may also be used by Oracle9i Database and Oracle8i Database.

Impact

An unauthenticated, remote attacker could cause a denial of service or execute arbitrary code on the system with the privileges of the Apache process. Since the Apache service typically runs with SYSTEM privileges on Windows NT and Windows 2000, an attacker may be able to gain complete control of the system.

Solution

Apply Patch
Apply the appropriate patch referenced in Oracle Security Alert #28.


Disable Vulnerable Service

Disable the vulnerable service (modplsql or mod_plsql in Apache).

Block or Restrict Access

Monitor and/or restrict access to the Apache service (typically 80/tcp). It may be possible to use TCP Wrapper or similar technology to provide improved access control and logging. Additionally, an application-level firewall may be able to filter requests made to Apache. Note that these workarounds are designed to limit access and detect exploit attempts. These workarounds do not prevent exploitation of this vulnerability.

Vendor Information

878603
Expand all

Oracle

Notified:  March 03, 2002 Updated:  March 05, 2002

Status

  Vulnerable

Vendor Statement

Oracle has released Oracle Security Alert #28.

Vendor Information

The vendor has not provided us with any further information regarding this vulnerability.

Addendum

The CERT/CC has no additional comments at this time.

If you have feedback, comments, or additional information about this vulnerability, please send us email.


CVSS Metrics

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A

References

Credit

The CERT Coordination Center thanks David Litchfield of NGSSoftware for information used in this document.

This document was written by Art Manion.

Other Information

CVE IDs: None
Severity Metric: 7.18
Date Public: 2002-02-06
Date First Published: 2002-02-28
Date Last Updated: 2002-03-15 20:37 UTC
Document Revision: 40

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.