Sponsored Links

 

 

 

Advanced Exploitation of Oracle PL/SQL Flaws

Source: www.blackhat.com
Topic: Oracle Programming


Short Desciption:
NGS Consulting Next Generation Security Software Ltd. What is PL/SQL? What is PL/SQL? • Procedural Language / Structured Query Language • Oracles extension to standard SQL Programmable like T-SQL ...

 

Content Inside:
NGS Consulting Next Generation Security Software Ltd. Advanced Exploitation of Oracle PL/SQL Flaws David Litchfield (davidl@ngssoftware. com) NGS Consulting Next Generation Security Software Ltd. Objectives Objectives • Discuss current "threat landscape" • Introduce a new class of vulnerability • Introduce a new method of attack • Show practical demonstrations • Look at some defences NGS Consulting Next Generation Security Software Ltd. Agenda Agenda • PL/SQL Risks • SQL Injection • "Dangling" Cursor Snarfing • Cursor Injection • Demonstrations • Grant DBA Privileges • Indirect Privilege Escalation NGS Consulting Next Generation Security Software Ltd. What is PL/SQL? What is PL/SQL? • Procedural Language / Structured Query Language • Oracles extension to standard SQL Programmable like T-SQL in the Microsoft world. • Used to create • Stored Procedures • Functions • Packages (collections of procedures and functions) • Triggers • Objects • Extends functionality with External Procedures and Java NGS Consulting Next Generation Security Software Ltd. Privileges - Definer vs. Invoker rights Privileges - Definer vs. Invoker rights • PL/SQL executes with the privileges of the definer • A procedure owned by SYS executes with SYS privileges • AUTHID CURRENT_USER keyword • PL/SQL created using the AUTHID CURRENT_USER keyword executes with the privileges of the invoker • A procedure owned by SYS but called by SCOTT executes with the privileges of SCOTT • Analogous to Suid programs in the *nix world. NGS Consulting Next Generation Security Software Ltd. Running SQL from PL/SQL Running SQL from PL/SQL • EXECUTE IMMEDIATE … • OPEN • DBMS_SQL • Key to Cursor Snarfing and Cursor Injection NGS Consulting Next Generation Security Software Ltd. DBMS_SQL DBMS_SQL DECLARE MY_CURSOR NUMBER; MY_RESULT NUMBE ...

 

add to Google Reader add to Google Bookmark add to bloglines add to newsgator add to FURL add to digg add to webnews add to Netscape add to Yahoo MyWeb add to spurl.net add to diigo Bookmark newsvine Bookmark del.icio.us Bookmark @ SIMPIFY Bookmark MISTER WONG Bookmark Linkarena Bookmark icio.de Bookmark oneview Bookmark folkd.com Bookmark yigg.de Bookmark reddit Bookmark StumbleUpon Bookmark Slashdot Bookmark blinklist Bookmark technorati add to blogmarks add to blinkbits add to ma.gnolia add to smarking.com add to netvouz add to co.mments add to Connotea add to de.lirio.us

 

Related PDF Files

Oracle Database Listener Security Guide


Topic: Oracle Programming

O RACLE D ATABASE L ISTENER S ECURITY G UIDE October 2002 March 2003 - Updated January 2004 - Updated July 2004 - Updated March 2005 - Updated April 2007 - Updated Authors:

Oracle Database Application Express


Topic: Oracle Programming

... Retain the new export file as a permanent backup copy. 3.12Creating a Web Reference on a WSDL that Has Input Parameters Defined as Arrays If you create a Web service reference in Oracle Application ...

Tips for Installing and Configuring Oracle9 i Real Application ...


Topic: Oracle Programming

An Oracle white paper, Tips and Techniques: Install and Configure Oracle9 i on Red Hat Linux Advanced Server, provides information about kernel settings and virtual memory considerations that apply to ...

Oracle Data Mining Programmer’s Guide


Topic: Oracle Programming

ODM Requirements and Constraints 1-2 Oracle Data Mining Application Developers Guide ■ Chapter6 describes programming with BLAST, a set of table functions for performing sequence matching searches ...

Oracle Performance


Topic: Oracle Programming

Other Oracle resources from OReilly Related titles Oracle in a Nutshell Oracle PL/SQL Programming Oracle PL/SQL ... cause of the problem, no matter what that root cause may be. Determinism A method must guide ...

 

Sponsored Links