Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

   

Linda Webb

Got breaking Oracle news?    Burleson Consulting Oracle News

Click here for more Oracle News Headlines

 


Oracle utl_file server directory vulnerability discovered

Pete Finnigan (www.petefinnigan.com) has discovered an important vulnerability for Oracle database that access directory-based objects (e.g. PL/SQL reads and writes to files, BFILE object access):

 

CREATE OR REPLACE DIRECTORY mydir AS '/etc';

 

DECLARE
  fHandler UTL_FILE.FILE_TYPE;
BEGIN
  fHandler := UTL_FILE.FOPEN('MYDIR', 'myfile', 'w');

  Exec UTL_FILE.PUTF(fHandler, 'We’re not in Kansas anymore, Toto\n');

  UTL_FILE.FCLOSE(fHandler);
END;

/

 

http://www.petefinnigan.com/directory_traversal.pdf

 

Finnigan accesses the risks, offers a checking script, and points to the MOSC patch:

Risk

Any existing DIRECTORY object that can be accessed presents a potential risk. Read privileges on a DIRECTORY object are required to exploit this issue.

Workaround

If no directory objects exist that can be accessed then the problem can be minimised. Review existing directory objects and their access privileges in the database. A good script is http://www.petefinnigan.com/who_can_access.sql which can be used to ascertain which users can access directory objects. Revoke read access privileges from these objects and also ensure no users have DIRECTORY object creation or alteration system privileges.

Patch information

We advise customers of Oracle to apply the patches listed in the CPU – January 2005 advisory as soon as possible. Please see MOSC document ID 293737.1 at

http://MOSC.oracle.com/MOSC/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=
 


 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational