[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-95417-2

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



Over time, system administration errors and changes can lead to groups being defined in /etc/passwd but not in /etc/group. Rationale Groups defined in the /etc/passwd file but not in the /etc/group file pose a threat to system security since group permissions are not properly managed. Audit Run the following script and verify no results are returned: #!/bin/bash for i in $(cut -s -d: -f4 /etc/passwd | sort -u ); do grep -q -P "^.*?:[^:]*:$i:" /etc/group if [ $? -ne 0 ]; then fi done Remediation Analyze the output of the Audit step above and perform the appropriate action to correct any discrepancies found.


Parameter:

[yes/no]


Technical Mechanism:

Analyze the output of the Audit step above and perform the appropriate action to correct any discrepancies found.

CCSS Severity:CCSS Metrics:
CCSS Score : 8.8Attack Vector: LOCAL
Exploit Score: 2.0Attack Complexity: LOW
Impact Score: 6.0Privileges Required: LOW
Severity: HIGHUser Interaction: NONE
Vector: AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HScope: CHANGED
 Confidentiality: HIGH
 Integrity: HIGH
 Availability: HIGH
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:84266
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72757
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72654
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72392
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72026
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72863
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:72968
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:68568


OVAL    8
oval:org.secpod.oval:def:84266
oval:org.secpod.oval:def:72757
oval:org.secpod.oval:def:72968
oval:org.secpod.oval:def:72654
...
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