Jump to content
Nytro

Privilege Escalation via Oracle Indexes

Recommended Posts

Posted

Privilege EscalationviaOracle Indexes

David Litchfield

[david.litchfield@datacom.com.au]

21st January 2015

© Copyright Datacom TSS

Datacom TSS

Introduction

To speed up querying of large datasets most database servers allow table data to be indexed. InOracle, in order to be able to create an index on a table, the user must either own the table, orhave the INDEX object privilege on the table, or have the CREATE ANY INDEX systemprivilege. If a user has either of these privileges, then a security hole is opened up whereby theycan execute arbitrary SQL as the owner of the table by creating a function-based index on thetable. If the table in question is owned by a highly privileged user such as SYS or SYSTEM thenthe database server becomes dangerously exposed as it provides the attacker the ability to fullycompromise the system.The PUBLIC role has (in the past) been granted the INDEX privilege on the following tables,product and options dependant:

SYS.DUAL

SYS.OLAPTABLEVELS

SYS.OLAPTABLEVELTUPLES

SYSTEM.OLAP_SESSION_CUBES

SYSTEM.OLAP_SESSION_DIMS

SYSTEM.PLAN_TABLE

FLOWS_FILES.WWV_FLOW_FILE_OBJECT$

TOAD.TOAD_PLAN_TABLE

Download: http://www.davidlitchfield.com/Privilege_Escalation_via_Oracle_Indexes.pdf

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...