🔙 목록으로 돌아가기

CVE-2021-29484: Ghost CMS <=4.32 - Cross-Site Scripting

TitleGhost CMS <=4.32 - Cross-Site Scripting
Authorrootxharsh,iamnoooob
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.
RemediationThis issue has been fixed in 4.3.3.
CVSS Score6.8
EPSS Score0.82004
CVE IDCVE-2021-29484
CWE IDCWE-79
Shodan Queryhttp.component:"ghost"
Tags cve2021 cve xss ghost node.js vuln

🔍 Vulnerability Description

Ghost CMS 4.0.0 to 4.3.2 contains a DOM cross-site scripting vulnerability. An unused endpoint added during the development of 4.0.0 allows attackers to gain access by getting logged-in users to click a link containing malicious code.

🌐 HTTP Request

GET /ghost/preview HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
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-29484.yaml

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