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.
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.
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.
The CERT/CC thanks NGSSoftware and Oracle for information used in this document.
This document was written by Art Manion.
|Date First Published:||2002-02-28|
|Date Last Updated:||2002-03-15 20:24 UTC|