[dbsec] Oracle PL/SQL Injection Flaw in REPCAT_RPC.VALIDATE_REMOTE_RC

  • From: "David Litchfield" <davidl@xxxxxxxxxxxxxxx>
  • To: <full-disclosure@xxxxxxxxxxxxxxxxx>, <bugtraq@xxxxxxxxxxxxxxxxx>, <dbsec@xxxxxxxxxxxxx>
  • Date: Tue, 25 Aug 2009 21:18:58 +0100

Hey all,
The Oracle REPCAT_RPC.VALIDATE_REMOTE_RC function executes blocks of anonymous PL/SQL that can be influenced by an attacker to execute arbitrary PL/SQL. As this package is only accessible directly by SYS this flaw would not normally present a risk. However, the REPCAT_RPC.VALIDATE_REMOTE_RC function can be used as an auxiliary inject function to escalate privileges. This is described in a paper I wrote in February 2007 after reporting the issue but am only releasing now as the flaw has fixed by Oracle in their July 2009 Critical Patch Update. This flaw documents the currently unspecified flaw at http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-1021

The paper is available from http://www.databasesecurity.com/oracle/plsql-injection-create-session.pdf

Please note that many of the techniques discussed in this paper have been superceded by cursor injection (http://www.databasesecurity.com/dbsec/cursor-injection.pdf) which was written 3 days after.

David Litchfield
NGSSoftware Ltd


The information contained in this email and any subsequent
correspondence is private, is solely for the intended recipient(s) and
may contain confidential or privileged information. For those other than
the intended recipient(s), any disclosure, copying, distribution, or any
other action taken, or omitted to be taken, in reliance on such
information is prohibited and may be unlawful. If you are not the
intended recipient and have received this message in error, please
inform the sender and delete this mail and any attachments.

The views expressed in this email do not necessarily reflect NGS policy.
NGS accepts no liability or responsibility for any onward transmission
or use of emails and attachments having left the NGS domain.

NGS and NGSSoftware are trading names of Next Generation Security
Software Ltd. Registered office address: Manchester Technology Centre,
Oxford Road, Manchester, M1 7EF with Company Number 04225835 and
VAT Number 783096402

Other related posts:

  • » [dbsec] Oracle PL/SQL Injection Flaw in REPCAT_RPC.VALIDATE_REMOTE_RC - David Litchfield