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,vuln

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: 4b0a00483046022100c3a2f9480f7e2934a19db8b790ba2fa0e39c7559071a9a84bffecd5b1fc9fec8022100d0a4f6d8cb431aa7c5dd842f05d5e31c2dfb94bee3aeca88aeb08c995228d132:922c64590222798bb761d5b6d8e72950