Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2025-6187
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-6187 is a critical privilege escalation vulnerability in the bSecure – Your Universal Checkout plugin for WordPress, caused by missing authorization on its order_info REST endpoint. It affects plugin versions 1.3.7 through 1.7.9 and allows unauthenticated attackers to fully impersonate any user account by knowing only their email address. The vulnerability was published on July 22, 2025, and assigned a CVSS v3.1 base score of 9.8 (Critical) (Wordfence, Red Hat CVE).

Technical details

The root cause is CWE-862 (Missing Authorization): the plugin registers the /webhook/v2/order_info/ REST API route with a permission_callback that unconditionally returns true, effectively disabling all authentication and authorization checks for that endpoint (Wordfence, ZeroPath). An unauthenticated attacker can send a crafted HTTP request to this endpoint supplying a target user's email address, and the plugin responds by issuing a valid WordPress login cookie for that account. No credentials, tokens, or prior access are required — only knowledge of a valid user email, which is often obtainable through public sources or enumeration (Wordfence).

Impact

Successful exploitation grants an unauthenticated attacker a valid session cookie for any targeted WordPress user, including administrators, enabling full account takeover. With administrator-level access, an attacker can install malicious plugins, modify site content, exfiltrate sensitive user and order data, or pivot to the underlying server. All three CIA pillars are affected: confidentiality (access to user data and credentials), integrity (site content and configuration modification), and availability (potential site defacement or destruction) (Wordfence, ZeroPath).

Exploitability

As of the time of publication, there is no public proof-of-concept exploit and no confirmed evidence of in-the-wild exploitation (Wordfence). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.0025 (0.25%), indicating a currently low probability of exploitation in the near term. However, the low attack complexity and zero authentication requirement make it highly attractive for opportunistic attackers if a PoC is released (Red Hat CVE).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the bSecure plugin (versions 1.3.7–1.7.9) using tools like WPScan, Shodan, or by checking /wp-content/plugins/bsecure/ for version disclosure.
  2. Email enumeration: Obtain a target user's email address via public WooCommerce order confirmations, contact pages, WHOIS records, or WordPress username enumeration (e.g., /?author=1).
  3. Craft malicious request: Send an unauthenticated HTTP POST or GET request to the vulnerable REST endpoint: https://target-site.com/wp-json/webhook/v2/order_info/ supplying the target user's email address as a parameter.
  4. Receive login cookie: The endpoint, due to its always-true permission_callback, processes the request and returns a valid WordPress authentication cookie for the targeted user account.
  5. Account takeover: Inject the received cookie into a browser session to authenticate as the target user (including administrators), then perform privileged actions such as installing plugins, exfiltrating data, or modifying site settings (Wordfence, ZeroPath).

Indicators of compromise

  • Network: Unusual unauthenticated HTTP requests to /wp-json/webhook/v2/order_info/ from external IP addresses; repeated requests to this endpoint from a single IP or across multiple IPs in a short timeframe.
  • Logs: WordPress access logs showing GET or POST requests to /wp-json/webhook/v2/order_info/ without a valid authentication header or nonce; authentication events for admin accounts from unexpected IP addresses or geolocations.
  • File System: Newly installed or modified WordPress plugins not authorized by site administrators; unexpected changes to theme files or wp-config.php.
  • Process/Behavior: New WordPress administrator accounts created without corresponding legitimate user activity; unexpected changes to site settings, user roles, or WooCommerce configurations following access to the endpoint (Wordfence).

Mitigation and workarounds

The primary remediation is to update the bSecure plugin to a version beyond 1.7.9, which addresses the missing authorization check on the /webhook/v2/order_info/ endpoint (Wordfence). If an immediate update is not possible, the plugin should be temporarily deactivated to eliminate the attack surface. Additionally, administrators should audit all user accounts for unauthorized access, review and reset user passwords, and monitor authentication logs for suspicious login activity. Implementing a Web Application Firewall (WAF) rule to block unauthenticated requests to the /wp-json/webhook/v2/order_info/ route can serve as a short-term compensating control.

Community reactions

Wordfence, which assigned and disclosed the CVE, published a weekly WordPress vulnerability report covering this issue for the week of July 21–27, 2025 (Wordfence Blog). ZeroPath published a dedicated technical blog post analyzing the vulnerability shortly after disclosure (ZeroPath). The vulnerability was also noted in a CISA vulnerability summary for the week of July 21, 2025, by Red Packet Security (Red Packet Security). Community discussion was observed on security-focused Mastodon instances and aggregator platforms shortly after publication.

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86801HIGH8.8
  • todo-lists-for-membership-sites
NoNoSep 17, 2026
CVE-2026-87963HIGH8.6
  • yo
NoNoSep 17, 2026
CVE-2026-91016MEDIUM5.3
  • motors-car-dealership-classified-listings
NoYesSep 17, 2026
CVE-2026-91019MEDIUM4.9
  • mage-eventpress
NoYesSep 17, 2026
CVE-2026-91017LOW3.7
  • robokassa
NoYesSep 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management