mirror of
https://github.com/HackTricks-wiki/hacktricks-cloud.git
synced 2026-07-28 22:51:09 -07:00
908 B
908 B
AWS - ECS Unauthenticated Enum
{{#include ../../../../banners/hacktricks-training.md}}
ECS
Vir meer inligting, sien:
{{#ref}} ../../aws-services/aws-ecs-enum.md {{#endref}}
Openlik toeganklike Security Group of Load Balancer vir ECS Services
'n Verkeerd gekonfigureerde security group wat inbound verkeer vanaf die internet (0.0.0.0/0 or ::/0) na die Amazon ECS services toelaat, kan die AWS hulpbronne aan aanvalle blootstel.
# Example of detecting misconfigured security group for ECS services
aws ec2 describe-security-groups --query 'SecurityGroups[?IpPermissions[?contains(IpRanges[].CidrIp, `0.0.0.0/0`) || contains(Ipv6Ranges[].CidrIpv6, `::/0`)]]'
# Example of detecting a publicly accessible load balancer for ECS services
aws elbv2 describe-load-balancers --query 'LoadBalancers[?Scheme == `internet-facing`]'
{{#include ../../../../banners/hacktricks-training.md}}