The log information from OHS must be protected from unauthorized deletion.
An XCCDF Rule
Description
<VulnDiscussion>Log data is essential in the investigation of events. The accuracy of the information is always pertinent. Information that is not accurate does not help in the revealing of potential security risks and may hinder the early discovery of a system compromise. One of the first steps an attacker will undertake is the modification or deletion of audit records to cover his tracks and prolong discovery. The web server must protect the log data from unauthorized deletion. This can be done by the web server if the web server is also doing the logging function. The web server may also use an external log system. In either case, the logs must be protected from deletion by non-privileged users.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-221336r879578_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
1. Change to the ORACLE_HOME/user_projects/domains/base_domain/servers directory.
2. Execute the command: find . -name *.log
3. Set the owner and group to the user and group used to run the web server. The user and group are typically set to Oracle.