SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Database)  >   Oracle Database Vendors:   Oracle
(Oracle Issues Workaround) Re: Oracle Database Permission Configuration Error Lets Local Users Modify Database Files, Configuration Files, and Executables
SecurityTracker Alert ID:  1002671
SecurityTracker URL:  http://securitytracker.com/id/1002671
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Oct 31 2001
Impact:   Modification of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 8.0.x, 8.1.x, and 9.0.1
Description:   PlazaSite reported a vulnerability in Oracle 8.0.5 that allows any local user to modify any file owned by the 'oracle' user.

It is reported that there is a write permision checking error in an unspecified component of Oracle that allows any local user to write to any file owned by the 'oracle' user.

Impact:   A local user can modify and corrupt the database and modify the oracle binaries.
Solution:   The vendor plans to issue a fix in the next release of the Oracle database server which is Oracle9i, Release 2, only. All other releases of the Oracle database (8.0.x, 8.1.x and 9.0.1) must use the following workaround:

Change the file permissions on the oracle executable as follows:
% chmod o-x oracle

The vendor has provided the following notes regarding the workaround:

"The workaround suggested above will permit only the owner of the oracle executable and users defined in the OS DBA group to run the oracle executable directly. With the execute permissions for others removed, other users cannot connect to an Oracle database server using the BEQ driver. If the BEQ driver is being used to connect to an Oracle database, a client program (such as SQLPLUS) will fork its processes and try to execute the oracle executable directly. This operation will fail because such a client program will run with the OS user s privileges who no longer has execute permission on the oracle executable. To avoid this problem, local users must connect to an Oracle database using the IPC driver which makes it possible to connect to a TNS listener listening on an Oracle database. The TNS listener will need to be started by a user that has execute permissions on the oracle executable."

Vendor URL:  otn.oracle.com/deploy/security/alerts.htm (Links to External Site)
Cause:   Access control error
Underlying OS:   Linux (Any), UNIX (AIX), UNIX (HP/UX), UNIX (Solaris - SunOS), UNIX (Tru64)

Message History:   This archive entry is a follow-up to the message listed below.
Aug 3 2001 Oracle Database Permission Configuration Error Lets Local Users Modify Database Files, Configuration Files, and Executables



 Source Message Contents

Date:  Wed, 24 Oct 2001 12:59:12 -0700
Subject:  Oracle File Overwrite Security Vulnerability


--------------304EE1F8C8D2C1009277BBF0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Security Alert #20
Reference Date: 10/18/01

Oracle File Overwrite Security Vulnerability

Overview
There is a potential security vulnerability associated with the Oracle
binary oracle on UNIX platforms. A non-privileged user (such as
“nobody”) invokes the oracle executable: as a result of the presence of
the SETUID bit, the executable can be forced to write to a trace file in
ORACLE_HOME/rdbms/log directory and thereby overwrite existing log files
or create new (unauthorized) files. The non-privileged user can also
point the environment variable, ORACLE_HOME, to an arbitrary directory
in the operating system and thereby corrupt other files as well.

Products
All Oracle database server releases (8.0.x, 8.1.x and 9.0.1)

Platforms
All Unix platforms

Workaround
Change the file permissions on the oracle executable as follows:
% chmod o-x oracle

Notes
The workaround suggested above will permit only the owner of the oracle
executable and users defined in the OS DBA group to run the oracle
executable directly. With the execute permissions for “others” removed,
other users cannot connect to an Oracle database server using the BEQ
driver. If the BEQ driver is being used to connect to an Oracle
database, a client program (such as SQLPLUS) will fork its processes and
try to execute the oracle executable directly. This operation will fail
because such a client program will run with the OS user’s privileges who
no longer has execute permission on the oracle executable. To avoid this
problem, local users
must connect to an Oracle database using the IPC driver which makes it
possible to connect to a TNS listener listening on an Oracle database.
The TNS listener will need to be started by a user that has execute
permissions on the oracle executable.

Patches
The potential security vulnerability will be code-fixed in the next
release of the Oracle database server which is Oracle9i, Release 2,
only. All other releases of the Oracle database (8.0.x, 8.1.x and 9.0.1)
must use follow the workarounds specified above to circumvent the
potential security vulnerability.

Credits
Oracle wishes to thank Juan Manuel Pascual EscribĂ for discovering these
vulnerabilities and promptly bringing them to Oracle's attention.


--------------304EE1F8C8D2C1009277BBF0--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2012, SecurityGlobal.net LLC