[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-95408-1

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 The LoginGraceTime parameter specifies the time allowed for successful authentication to the SSH server. The longer the Grace period is the more open unauthenticated connections can exist. Like other session controls in this session the Grace Period should be limited to appropriate organizational limits to ensure the service is available for needed access. Rationale Setting the LoginGraceTime parameter to a low number will minimize the risk of successful brute force attacks to the SSH server. It will also limit the number of concurrent unauthenticated connections While the recommended setting is 60 seconds (1 Minute), set the number based on site policy. Audit Run the following command and verify that output LoginGraceTime is 60 or less: # grep "^LoginGraceTime" /etc/ssh/sshd_config LoginGraceTime 60 Remediation Edit the /etc/ssh/sshd_config file to set the parameter as follows: LoginGraceTime 60


Parameter:

[60]


Technical Mechanism:

Edit the /etc/ssh/sshd_config file to set the parameter as follows: LoginGraceTime 60

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:72748
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72645
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:84199
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72960
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72855
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:71959
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:68560
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72325


OVAL    8
oval:org.secpod.oval:def:71959
oval:org.secpod.oval:def:72855
oval:org.secpod.oval:def:72748
oval:org.secpod.oval:def:72645
...
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