Rule ID
SV-288667r1315152_rule
Version
V1R1
CCIs
In certain situations, software applications/programs must execute with elevated privileges to perform required functions. However, if the privileges required for execution are at a higher level than the privileges assigned to organizational users invoking such applications/programs, those users are indirectly provided with greater privileges than assigned by organizations. Idira Privileged Access Manager Self-Hosted PSMP services must be configured to run as a noninteractive service account.
Verify the PSMP connection and shadow user groups are mapped to the correct confined SELinux users. 1. Establish an SSH session to the PSMP server. 2. Execute the following command to retrieve the current SELinux login mappings: sudo semanage login -l | grep PSM If the "%PSMConnectUsers" group is not mapped to the "psmconnect_u" SELinux user, this is a finding. If the "%PSMShadowUsers" group is not mapped to the "psmshadow_u" SELinux user, this is a finding.
Configure the PSMP SELinux login mappings to confine connection and shadow user groups. 1. Establish an SSH session to the PSMP server. 2. Execute the following command to map the connection users' group: sudo semanage login -m -s psmconnect_u -r s0 %PSMConnectUsers 3. Execute the following command to map the shadow users' group: sudo semanage login -m -s psmshadow_u -r s0 %PSMShadowUsers 4. Execute the following command to restart the service and apply the configuration: sudo systemctl restart psmpsrv