Check: JBOS-AS-000480
JBoss Enterprise Application Platform 6.3 STIG:
JBOS-AS-000480
(in versions v2 r4 through v1 r1)
Title
The JBoss server must be configured to log all admin activity. (Cat II impact)
Discussion
In order to be able to provide a forensic history of activity, the application server must ensure users who are granted a privileged role or those who utilize a separate distinct account when accessing privileged functions or data have their actions logged. If privileged activity is not logged, no forensic logs can be used to establish accountability for privileged actions that occur on the system.
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. Connect to the server and authenticate. Run the command: /core-service=management/access=audit:read-resource(recursive=true) Under the "logger" => {audit-log} section of the returned response: If "enabled" => false, this is a finding
Fix Text
Launch the jboss-cli management interface substituting standalone or domain for <CONFIG> based upon the server installation. <JBOSS_HOME>/<CONFIG>/bin/jboss-cli connect to the server and run the following command: /core-service=management/access=audit/logger=audit-log:write-attribute(name=enabled,value=true)
Additional Identifiers
Rule ID: SV-213540r955088_rule
Vulnerability ID: V-213540
Group Title: SRG-APP-000343-AS-000030
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-002234 |
The information system audits the execution of privileged functions. |
Controls
Number | Title |
---|---|
AC-6 (9) |
Auditing Use Of Privileged Functions |