id: ec2-instance-information

info:
  name: EC2 Instance Information
  author: DhiyaneshDk
  severity: low
  description: EC2 Instance information is exposed.
  reference:
    - https://www.facebook.com/ExWareLabs/photos/a.361854183878462/5567070616690100/
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"EC2 Instance Information"
  tags: misconfig,ec2,aws,amazon

http:
  - method: GET
    path:
      - "{{BaseURL}}"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '<title>EC2 Instance Information</title>'

      - type: word
        part: header
        words:
          - text/html

      - type: status
        status:
          - 200
# digest: 490a004630440220247b4eca5ae30cd888b845ac65d87d52f64d6dcd2efd2a585fbd92d55e8b8e1e0220251b5544739c9a99d7dd45cf70f01501a169981e6c5f063eded7ab084b720594:922c64590222798bb761d5b6d8e72950