Description
Oracle Database Server 10.1, 10.2, and 11g grants directory WRITE permissions for arbitrary pathnames that are aliased in a CREATE OR REPLACE DIRECTORY statement, which allows remote authenticated users with CREATE ANY DIRECTORY privileges to gain SYSDBA privileges by aliasing the pathname of the password directory, and then overwriting the password file through UTL_FILE operations, a related issue to CVE-2006-7141.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Oracle Database Server 11.1 - 'CREATE ANY Directory' Privilege Escalation EDB-32475 · remote · Oct 13, 2008 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- http://www.oracleforensics.com/wordpress/index.php/2008/10/10/create-any-directory-to-sysdba/
- oracle-database-sysdba-privilege-escalation(48814) vdb-entry
- 31738 vdb-entry
- 20081011 CREATE ANY DIRECTORY to SYSDBA mailing-list
- http://www.oracleforensics.com/wordpress/wp-content/uploads/2008/10/create-any-directory-to-sysdba.pdf