TUCoPS :: Oracle :: bt-21578.htm

Oracle PL/SQL Injection Flaw in REPCAT_RPC.VALIDATE_REMOTE_RC
Oracle PL/SQL Injection Flaw in REPCAT_RPC.VALIDATE_REMOTE_RC
Oracle PL/SQL Injection Flaw in REPCAT_RPC.VALIDATE_REMOTE_RC



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.

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 

TUCoPS is optimized to look best in Firefox® on a widescreen monitor (1440x900 or better).
Site design & layout copyright © 1986-2024 AOH