Oracle PL/SQL Injection Flaw in REPCAT_RPC.VALIDATE_REMOTE_RC

Hey all,
The Oracle REPCAT_RPC.VALIDATE_REMOTE_RC function executes blocks of=20
anonymous PL/SQL that can be influenced by an attacker to execute =
arbitrary=20
PL/SQL. As this package is only accessible directly by SYS this flaw =
would=20
not normally present a risk. However, the REPCAT_RPC.VALIDATE_REMOTE_RC=20
function can be used as an auxiliary inject function to escalate =
privileges.=20
This is described in a paper I wrote in February 2007 after reporting =
the=20
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=20
unspecified flaw at=20
http://web.nvd.nist.gov/view/vuln/detail?vulnId=3DCVE-2009-1021

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


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

Cheers,
David Litchfield
NGSSoftware Ltd
http://www.ngssoftware.com/

--
E-MAIL DISCLAIMER

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