{"vuid":"VU#878603","idnumber":"878603","name":"Oracle9i Application Server Apache PL/SQL module vulnerable to buffer overflow via HTTP Authorization header","keywords":["Oracle 9iAS","PL/SQL module buffer overflow","long password","Authorization HTTP client header"],"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.","clean_desc":"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.","resolution":"Apply Patch\nApply the appropriate patch referenced in Oracle Security Alert #28.","workarounds":"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.","sysaffected":"","thanks":"The CERT Coordination Center thanks David Litchfield of NGSSoftware for information used in this document.","author":"This document was written by Art Manion.","public":["http://www.nextgenss.com/advisories/oraplsbos.txt","http://www.nextgenss.com/papers/hpoas.pdf","http://www.securityfocus.com/bid/4032","http://otn.oracle.com/deploy/security/pdf/ias_modplsql_alert.pdf","http://otn.oracle.com/tech/pl_sql/content.html","http://metalink.oracle.com/","http://www.ietf.org/rfc/rfc2616.txt","http://www.ietf.org/rfc/rfc2617.txt"],"cveids":["CVE-2002-0559"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2002-02-06T17:14:49Z","publicdate":"2002-02-06T00:00:00Z","datefirstpublished":"2002-02-28T19:17:22Z","dateupdated":"2002-03-15T20:37:58Z","revision":40,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"20","cam_exploitation":"0","cam_internetinfrastructure":"3","cam_population":"7","cam_impact":"17","cam_easeofexploitation":"7","cam_attackeraccessrequired":"20","cam_scorecurrent":"7.184625","cam_scorecurrentwidelyknown":"7.184625","cam_scorecurrentwidelyknownexploited":"13.432125","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":7.184625,"vulnote":null}