导航

Web安全手册

分享本身就是件快乐的事 我因别人得到帮助而感到幸福

« SCRT Mini MySqlat0r假如对方是个BT 之 \ 被过滤 【2】 »

CREATE ANY DIRECTORY to SYSDBA

原文: http://www.oracleforensics.com/wordpress/index.php/2008/10/10/create-any-directory-to-sysdba/
An Oracle DB user which has been granted CREATE ANY DIRECTORY can use that system privilege to grant themselves the SYSDBA system privilege by creating a DIRECTORY pointing to the password file location on the OS and then overwriting it with a previously prepared known binary password file using UTL_FILE.PUT_RAW from within the DB.

This paper will show how the issue can be exploited and most importantly how to secure against it. This is an original vulnerability affecting current versions of the DB and please note that Oracle Corp’s Security Department have already been informed in accordance with ethical procedures and have given their permission to publish.

Proof of concept code tested on 10.1, 10.2 and 11g on both Linux and Windows and is available below.

Here is the paper.

备份地址:http://dl.getdropbox.com/u/216079/create_any_directory_to_sysdba.pdf

Here is the code.

备份地址:http://dl.getdropbox.com/u/216079/createdirectory2sysdba.sql

The above should only be carried out on test machines and only for the purposes of increasing security. It is still my opinion that Oracle is the best Relational DB available and with additional security expertise it should stay that way for a while yet.

Cheers,
Paul

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

Powered By Z-Blog .Theme from Google黑板报 By Washun

Copyright 2008-2009 Pcsec.org. Some Rights Reserved.苏ICP备08110306号

Search

网站分类

文章归档

最新评论及回复

最近发表