JBOS-AS-000720 - JBoss must be configured to generate log records for all account creations, modifications, disabling, and termination events.

Information

The maintenance of user accounts is a key activity within the system to determine access and privileges. Through changes to accounts, an attacker can create an account for persistent access, modify an account to elevate privileges, or terminate/disable an account(s) to cause a DoS for user(s). To be able to track and investigate these actions, log records must be generated for any account modification functions.

Application servers either provide a local user store, or they can integrate with enterprise user stores like LDAP. As such, the application server must be able to generate log records on account creation, modification, disabling, and termination.

Solution

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)'

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_JBoss_EAP_6-3_V2R5_STIG.zip

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-12c., CAT|II, CCI|CCI-000172, Rule-ID|SV-213557r961842_rule, STIG-ID|JBOS-AS-000720, STIG-Legacy|SV-76831, STIG-Legacy|V-62341, Vuln-ID|V-213557

Plugin: Unix

Control ID: 33862fc0e4b32d9ca35e615a6def2f8c2143c55708621027c241f01bc97d2bd4