id: epson-access-detect

info:
  name: Epson Device Unauthorized Access Detect
  author: pussycat0x
  severity: info
  description: A publicly available Epson device panel (printer, scanner, etc.) was detected.
  reference:
    - https://www.exploit-db.com/ghdb/6922
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-668
  metadata:
    max-request: 1
  tags: iot,printer,panel,unauth,epson,edb

http:
  - method: GET
    path:
      - "{{BaseURL}}/PRESENTATION/EPSONCONNECT"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Epson Connect"
          - "/IMAGE/EPSONLOGO.PNG"
        condition: and

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        part: body
        group: 1
        regex:
          - "<title>([A-Z-0-9]+) Series</title>"
# digest: 490a00463044022008123db912d463f8905459f2462064530d55f9c7ef35bca22392696e1d5918930220491db0a2ddeb802918b588da8ecc1ce7787a56664fc045e6fc9be3e6be25555f:922c64590222798bb761d5b6d8e72950