search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Oracle9i Application Server Apache PL/SQL module vulnerable to buffer overflow via help page request

Vulnerability Note VU#500203

Original Release Date: 2002-01-03 | 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). This vulnerability could allow an unauthenticated remote attacker to cause a denial of service or execute arbitrary code on the system with the privileges of the Apache process.

Description

NGSSoftware has released Insight Security Research Advisory #NISR20122001 describing two vulnerabilities in the Apache PL/SQL module used by Oracle9i Application Server (iAS). The first of these vulnerabilities, a buffer overflow, is discussed in this document.

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 also provides the ability to remotely administer the Database Access Descriptors (DAD) and access help pages. While access to the DADs is restricted by username and password, access to the help pages is not and they can be accessed by any user. A crafted HTTP request for a help page could overflow a memory buffer and overwrite the saved return address, thus crashing the Apache process or executing code of the attacker's choice.

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 #25.


Disable Vulnerable Service

Disable the PL/SQL service (modplsql or mod_plsql in Apache).

Vendor Information

500203
 

Oracle Affected

Notified:  March 03, 2002 Updated: March 13, 2002

Status

Affected

Vendor Statement

Oracle has released Oracle Security Alert #25.

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
Temporal
Environmental

References

Acknowledgements

The CERT/CC thanks NGSSoftware and Oracle for information used in this document.

This document was written by Art Manion.

Other Information

CVE IDs: CVE-2001-1216
Severity Metric: 7.18
Date Public: 2001-12-13
Date First Published: 2002-01-03
Date Last Updated: 2002-03-15 20:24 UTC
Document Revision: 34

Sponsored by CISA.