id: exposed-file-upload-form

info:
  name: Exposed File Upload Form
  author: geeknik
  severity: info
  classification:
    cpe: cpe:2.3:a:creativedream_file_uploader_project:creativedream_file_uploader:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: creativedream_file_uploader_project
    product: creativedream_file_uploader
    shodan-query: http.html:"multipart/form-data" html:"file"
  tags: miscellaneous,exposure,upload,form,misc,generic,vuln

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

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - <form.*?method=("|')?post("|')?.*?>
          - <form.*?(?i)(?-i)enctype=("|')?multipart\/form-data("|')?.*?>
          - <input.*?type=("|')?file("|')?.*?>
        condition: or

      - type: regex
        regex:
          - "type=[\"'](file)[\"']"
          - 'id="file"'
        condition: or
# digest: 4b0a00483046022100f79af9ee93e5aed6aca7a2430349ee18c6a1a8723122cf796ca1a3e1b0ca4be602210085a11d87a7efc71a1330ee888a8244466b3cbace716e9f48e6e1531202bbde0e:922c64590222798bb761d5b6d8e72950