STIGUI
V-213499CAT II — Medium severitySV-213499r960792_rule

Users in JBoss Management Security Realms must be in the appropriate role.

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

Discussion

Security realms are a series of mappings between users and passwords and users and roles. There are 2 JBoss security realms provided by default; they are "management realm" and "application realm".

Management realm stores authentication information for the management API, which provides functionality for the web-based management console and the management command line interface (CLI).

mgmt-groups.properties stores user to group mapping for the ManagementRealm but only when role-based access controls (RBAC) is enabled.

If management users are not in the appropriate role, unauthorized access to JBoss resources can occur.

Check

Review the mgmt-users.properties file. Also review the <management /> section in the standalone.xml or domain.xml configuration files. The relevant xml file will depend on if the JBoss server is configured in standalone or domain mode.

Ensure all users listed in these files are approved for management access to the JBoss server and are in the appropriate role.

For domain configurations: <JBOSS_HOME>/domain/configuration/mgmt-users.properties. <JBOSS_HOME>/domain/configuration/domain.xml

For standalone configurations: <JBOSS_HOME>/standalone/configuration/mgmt-users.properties. <JBOSS_HOME>/standalone/configuration/standalone.xml

If the users listed are not in the appropriate role, this is a finding.

Fix

Document approved management users and their roles. Configure the application server to use RBAC and ensure users are placed into the appropriate roles.

Identifiers

Group ID
V-213499
Group title
SRG-APP-000033-AS-000024
Rule ID
SV-213499r960792_rule
Check ID
C-14722r296163_chk
Fix ID
F-14720r296164_fix