[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

249622

 
 

909

 
 

195549

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-95412-3

Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9Date: (C)2021-03-05   (M)2023-07-04



Description UsePAM Enables the Pluggable Authentication Module interface. If set to yes this will enable PAM authentication using ChallengeResponseAuthentication and PasswordAuthentication in addition to PAM account and session module processing for all authentication types Rationale When usePAM is set to yes, PAM runs through account and session types properly. This is important if you want to restrict access to services based off of IP, time or other factors of the account. Additionally, you can make sure users inherit certain environment variables on login or disallow access to the server Remediation Edit the /etc/ssh/sshd_config file to set the parameter as follows: UsePAM yes Impact: If UsePAM is enabled, you will not be able to run sshd(8) as a non-root user.


Parameter:

[yes/no]


Technical Mechanism:

Edit the /etc/ssh/sshd_config file to set the parameter as follows: UsePAM yes

CCSS Severity:CCSS Metrics:
CCSS Score : 8.1Attack Vector: NETWORK
Exploit Score: 2.2Attack Complexity: HIGH
Impact Score: 5.9Privileges Required: NONE
Severity: HIGHUser Interaction: NONE
Vector: AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HScope: UNCHANGED
 Confidentiality: HIGH
 Integrity: HIGH
 Availability: HIGH
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72859
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:71956
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72964
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72322
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:68564
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:84196
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72649
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72752


OVAL    8
oval:org.secpod.oval:def:72859
oval:org.secpod.oval:def:84196
oval:org.secpod.oval:def:71956
oval:org.secpod.oval:def:72649
...
XCCDF    8
xccdf_org.secpod_benchmark_general_Amazon_Linux_AMI
xccdf_org.secpod_benchmark_general_CENTOS_7
xccdf_org.secpod_benchmark_general_RHEL_8
xccdf_org.secpod_benchmark_general_OEL_8
...

© SecPod Technologies