O121-BP-025400 - Access to DBMS software files and directories must not be granted to unauthorized users.

Information

The DBMS software libraries contain the executables used by the DBMS to operate. Unauthorized access to the libraries can result in malicious alteration or planting of operational executables. This may in turn jeopardize data stored in the DBMS and/or operation of the host system.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

For UNIX Systems:

Set the umask of the Oracle software owner account to 022. Determine the shell being used for the Oracle software owner account:

env | grep -i shell

Startup files for each shell are as follows (located in users $HOME directory):

C-Shell (CSH) = .cshrc
Bourne Shell (SH) = .profile
Korn Shell (KSH) = .kshrc
TC Shell (TCS) = .tcshrc
BASH Shell = .bash_profile or .bashrc

Edit the shell startup file for the account and add or modify the line:

umask 022

Log off and logon, then enter the umask command to confirm the setting.

Note: To effect this change for all Oracle processes, a reboot of the DBMS server may be required.

For Windows Systems:
Restrict access to the DBMS software libraries to the fewest accounts that clearly require access based on job function.

Document authorized access controls and justify any access grants that do not fall under DBA, DBMS process, ownership, or SA accounts.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Oracle_Database_12c_V2R5_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000366, Rule-ID|SV-219865r401224_rule, STIG-ID|O121-BP-025400, STIG-Legacy|SV-76001, STIG-Legacy|V-61511, Vuln-ID|V-219865

Plugin: Windows

Control ID: ced6b6820a5bfe0b16377b57dc394db9bb508e23077361d4c1499c865e46d99a