From a50b238c7fd2bf810636877a12ffe247fb9fb2d3 Mon Sep 17 00:00:00 2001 From: Prowler Bot Date: Fri, 6 Sep 2024 13:23:47 +0200 Subject: [PATCH] fix(aws): change check metadata ec2_securitygroup_allow_wide_open_public_ipv4 (#4949) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Pedro Martín --- docs/tutorials/ignore-unused-services.md | 3 ++- ...c2_securitygroup_allow_wide_open_public_ipv4.metadata.json | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/ignore-unused-services.md b/docs/tutorials/ignore-unused-services.md index 163d13d0ee..40be90a8f9 100644 --- a/docs/tutorials/ignore-unused-services.md +++ b/docs/tutorials/ignore-unused-services.md @@ -36,10 +36,11 @@ If EBS default encyption is not enabled, sensitive information at rest is not pr - `ec2_ebs_default_encryption` -If your Security groups are not properly configured the attack surface is increased, nonetheless, Prowler will detect those security groups that are being used (they are attached) to only notify those that are being used. This logic applies to the 15 checks related to open ports in security groups and the check for the default security group. +If your Security groups are not properly configured the attack surface is increased, nonetheless, Prowler will detect those security groups that are being used (they are attached) to only notify those that are being used. This logic applies to the 15 checks related to open ports in security groups, the check for the default security group and for the security groups that allow ingress and egress traffic. - `ec2_securitygroup_allow_ingress_from_internet_to_port_X` (15 checks) - `ec2_securitygroup_default_restrict_traffic` + - `ec2_securitygroup_allow_wide_open_public_ipv4` Prowler will also check for used Network ACLs to only alerts those with open ports that are being used. diff --git a/prowler/providers/aws/services/ec2/ec2_securitygroup_allow_wide_open_public_ipv4/ec2_securitygroup_allow_wide_open_public_ipv4.metadata.json b/prowler/providers/aws/services/ec2/ec2_securitygroup_allow_wide_open_public_ipv4/ec2_securitygroup_allow_wide_open_public_ipv4.metadata.json index fb515e5527..773cfdb249 100644 --- a/prowler/providers/aws/services/ec2/ec2_securitygroup_allow_wide_open_public_ipv4/ec2_securitygroup_allow_wide_open_public_ipv4.metadata.json +++ b/prowler/providers/aws/services/ec2/ec2_securitygroup_allow_wide_open_public_ipv4/ec2_securitygroup_allow_wide_open_public_ipv4.metadata.json @@ -1,7 +1,7 @@ { "Provider": "aws", "CheckID": "ec2_securitygroup_allow_wide_open_public_ipv4", - "CheckTitle": "Ensure no security groups allow ingress from wide-open non-RFC1918 address.", + "CheckTitle": "Ensure no security groups allow ingress and egress from wide-open non-RFC1918 address.", "CheckType": [ "Infrastructure Security" ], @@ -10,7 +10,7 @@ "ResourceIdTemplate": "arn:partition:service:region:account-id:resource-id", "Severity": "high", "ResourceType": "AwsEc2SecurityGroup", - "Description": "Ensure no security groups allow ingress from wide-open non-RFC1918 address.", + "Description": "Ensure no security groups allow ingress and egress from wide-open non-RFC1918 address.", "Risk": "If Security groups are not properly configured the attack surface is increased.", "RelatedUrl": "", "Remediation": {