STIGUI
V-213501CAT I — High severitySV-213501r960792_rule

Silent Authentication must be removed from the Default Management Security Realm.

Rule version JBOS-AS-000050 · STIG v2 · 2025-02-20

Discussion

Silent Authentication is a configuration setting that allows local OS users access to the JBoss server and a wide range of operations without specifically authenticating on an individual user basis. By default $localuser is a Superuser. This introduces an integrity and availability vulnerability and violates best practice requirements regarding accountability.

Check

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.

Verify that Silent Authentication has been removed from the default Management security realm. Run the following command.

For standalone servers run the following command: "ls /core-service=management/security-realm=ManagementRealm/authentication"

For managed domain installations run the following command: "ls /host=HOST_NAME/core-service=management/security-realm=ManagementRealm/authentication"

If "local" is returned, this is a finding.

Fix

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.

Remove the local element from the Management Realm. For standalone servers run the following command: /core-service=management/security-realm= ManagementRealm/authentication=local:remove

For managed domain installations run the following command: /host=HOST_NAME/core-service=management/security-realm= ManagementRealm/authentication=local:remove

Identifiers

Group ID
V-213501
Group title
SRG-APP-000033-AS-000024
Rule ID
SV-213501r960792_rule
Check ID
C-14724r754850_chk
Fix ID
F-14722r754851_fix