From 2cbfecf1c8b15907650c68fa4f82c90bca8b1f79 Mon Sep 17 00:00:00 2001 From: Prince Chaddha Date: Mon, 17 Oct 2022 20:31:58 +0530 Subject: [PATCH] Delete elasticbeantalk-takeover.yaml --- dns/elasticbeantalk-takeover.yaml | 50 ------------------------------- 1 file changed, 50 deletions(-) delete mode 100644 dns/elasticbeantalk-takeover.yaml diff --git a/dns/elasticbeantalk-takeover.yaml b/dns/elasticbeantalk-takeover.yaml deleted file mode 100644 index 99d5168687..0000000000 --- a/dns/elasticbeantalk-takeover.yaml +++ /dev/null @@ -1,50 +0,0 @@ -id: elasticbeantalk-takeover - -info: - name: ElasticBeanTalk Subdomain Takeover Detection - author: philippedelteil,rotemreiss - severity: high - description: ElasticBeanTalk subdomain takeover detected. A subdomain takeover occurs when an attacker gains control over a subdomain of a target domain. Typically, this happens when the subdomain has a canonical - name (CNAME) in the Domain Name System (DNS), but no host is providing content for it. - reference: - - https://github.com/EdOverflow/can-i-take-over-xyz/issues/147 - - https://twitter.com/payloadartist/status/1362035009863880711 - - https://www.youtube.com/watch?v=srKIqhj_ki8 - classification: - cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - cvss-score: 7.2 - cwe-id: CWE-404 - metadata: - comments: | - Only CNAMEs with region specification are hijackable. - You need to claim the CNAME in AWS portal (https://aws.amazon.com/) or via AWS CLI to confirm the takeover. - Do not report this without claiming the CNAME. - CLI command to verify the availability of the environment: - aws elasticbeanstalk check-dns-availability --region {AWS_REGION} --cname-prefix {CNAME_PREFIX} - For example: - CNAME - 2rs3c.eu-west-1.elasticbeanstalk.com - Command - aws elasticbeanstalk check-dns-availability --region eu-west-1 --cname-prefix 2rs3c - tags: dns,takeover,aws - -dns: - - name: "{{FQDN}}" - type: A - - matchers-condition: and - matchers: - - - type: regex - regex: - - \.(us|af|ap|ca|eu|me|sa)\-(east|west|south|northeast|southeast|central)\-[1-9]+\.elasticbeanstalk\.com - - - type: word - words: - - "NXDOMAIN" - - extractors: - - type: regex - group: 1 - regex: - - "IN\tCNAME\t(.+)" - -# Enhanced by mp on 2022/03/14