Vulnerability Note VU#805915

Oracle9i Application Server Apache PL/SQL module does not properly handle HTTP Authorization header

Original Release date: 25 Feb 2002 | Last revised: 15 Mar 2002

Overview

A vulnerability exists in the way the Apache Procedural Language/Structured Query Language (PL/SQL) module used by Oracle9i Application Server (iAS) handles HTTP Authorization headers. This vulnerability could allow an unauthenticated remote attacker to crash 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 denial-of-service vulnerability triggered 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. Both server challenges and client requests use a token to determine what type of Authentication scheme (auth-scheme) to use. If the PL/SQL module receives a malformed HTTP Authorization request that does not contain an Authentication type (auth-scheme) token, the Apache process will crash, denying service to legitimate users.

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

Impact

An unauthenticated remote attacker can crash the Apache service.

Solution

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


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 layer firewall or Intrusion Detection System (IDS) 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.

Disable Vulnerable Service

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

Systems Affected (Learn More)

VendorStatusDate NotifiedDate Updated
OracleAffected02 Mar 200213 Mar 2002
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base N/A N/A
Temporal N/A N/A
Environmental N/A 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: Unknown
  • Date Public: 06 Feb 2002
  • Date First Published: 25 Feb 2002
  • Date Last Updated: 15 Mar 2002
  • Severity Metric: 3.26
  • Document Revision: 46

Feedback

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