CVE-2023-23684

WPGraphQL <= 1.14.5 - Authenticated (Editor+) Server-Side Request Forgery

2023-06-28 00:00
Ravi Dharmawan

Strategic Overview

Status
Patched in 1.14.6
Affected Plugin
WPGraphQL
Affected Version
<= 1.14.5
CVSS
5.5Medium
Weakness type
CWE-918 · Server-Side Request Forgery (SSRF)
CVE
CVE-2023-23684
View all WPGraphQL vulnerabilities

At a glance

CVE-2023-23684 is a medium-severity Server-Side Request Forgery (SSRF) vulnerability in the WPGraphQL WordPress plugin, affecting versions <= 1.14.5. It carries a CVSS score of 5.5 (reachable over the network; low attack complexity). Exploitation requires an authenticated account at Editor level or above. The issue is fixed in version 1.14.6; sites on affected versions should update now. Disclosed June 2023, reported by Ravi Dharmawan.

Vulnerability Overview

The WPGraphQL plugin for WordPress is vulnerable to Server-Side Request Forgery in versions up to, and including, 1.14.5 via createMediaItem. This can allow authenticated attackers with editor access or higher to make web requests to arbitrary locations originating from the web application and can be used to query and modify information from internal services.

Technical Analysis

The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.

CWE-918: Server-Side Request Forgery (SSRF)

Reaching this weakness in WPGraphQL <= 1.14.5 takes an account at Editor level or above. Server-side request forgery means the application fetches a URL supplied by the caller, turning the server into a proxy for requests the attacker could not make directly.

The request originates from inside the hosting network, which is how these flaws reach cloud metadata endpoints, internal admin panels and services that trust local traffic. For WPGraphQL the fix is 1.14.6: builds <= 1.14.5 are affected, anything from 1.14.6 onward is not.

Remediation

Update to version 1.14.6, or a newer patched version

How does WordSec protect against this?

An attacker needs Editor access first, so the firewall sees the attempt as traffic from a logged-in account: WordSec's web application firewall inspects request payloads before WordPress loads them. None of that substitutes for the fix: WPGraphQL 1.14.6 closes this, and updating the plugin is the step that ends it.

  • Firewall
  • Alerts

External References

Related records

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C