Check: JBOS-AS-000095
JBoss Enterprise Application Platform 6.3 STIG:
JBOS-AS-000095
(in versions v2 r5 through v2 r4)
Title
JBoss must be configured to initiate session logging upon startup. (Cat II impact)
Discussion
Session logging activities are developed, integrated, and used in consultation with legal counsel in accordance with applicable federal laws, Executive Orders, directives, policies, or regulations.
Check Content
Log on to the OS of the JBoss server with OS permissions that allow access to JBoss. Using the relevant OS commands and syntax, cd to the <JBOSS_HOME>/bin/ folder. Run the jboss-cli script to start the Command Line Interface (CLI). Connect to the server and authenticate. Run the command: For a Managed Domain configuration: "ls host=master/server=<SERVERNAME>/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)" For a Standalone configuration: "ls /core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)" If "enabled" = false, this is a finding.
Fix Text
Launch the jboss-cli management interface. Connect to the server by typing "connect", authenticate as a user in the Superuser role and run the following command: For a Managed Domain configuration: "host=master/server/<SERVERNAME>/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)" For a Standalone configuration: "/core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)"
Additional Identifiers
Rule ID: SV-213505r960888_rule
Vulnerability ID: V-213505
Group Title: SRG-APP-000092-AS-000053
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001464 |
Initiates session audits automatically at system start-up. |
Controls
Number | Title |
---|---|
AU-14(1) |
System Start-up |