Vulnerability identifier: #VU18794
Vulnerability risk: Medium
CVSSv3.1: 4.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:P/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-264
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
WPGraphQL
Web applications /
JS libraries
Vendor: WPGraphQL
Description
The vulnerability allows a remote attacker to escalate privileges on the system.
The vulnerability exists due to the "createComment" mutation does not check for privileges when allowing to post comments to articles. A remote attacker can post comments on any article, even when 'allow comment' is disabled.
Mitigation
Install updates from vendor's website.
Vulnerable software versions
WPGraphQL: 0.0.2 - 0.2.3
External links
http://github.com/pentestpartners/snippets/blob/master/wp-graphql0.2.3_exploit.py
http://github.com/wp-graphql/wp-graphql/releases/tag/v0.3.0
http://wpvulndb.com/vulnerabilities/9282
http://www.pentestpartners.com/security-blog/pwning-wordpress-graphql/
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.