WooCommerce Skimmer Mimics Stripe Checkout to Steal Payment Card Data

· Original article ↗

Summary

CloudSEK analyzes an obfuscated skimmer targeting WooCommerce Payments that overlays fake Stripe fields, captures card details and customer emails during real purchases, and sends the data to an attacker-controlled endpoint.

Key points

  • The skimmer targets WooCommerce Payments and overlays first-party fields that imitate Stripe Elements, avoiding the protections of Stripe’s cross-origin iframe.
  • It captures card numbers, expiry dates, CVV/CVC, and customer email while legitimate purchases continue.
  • Card-brand checks, Luhn and expiry validation make the fake form behave like a genuine checkout.
  • Obfuscation, analytics-like browser storage, an Analytics opt-out flag, and victim deduplication help conceal the activity.
  • The described attack chain typically involves gaining store access, installing a web shell or backdoor, injecting checkout code, and exfiltrating captured data.
  • Defenders can look for unexpected card fields, obfuscated checkout scripts, suspicious storage keys, analytics tampering, and connections to non-payment domains.
  • Recommended response includes taking the checkout offline, removing both the skimmer and its persistence mechanism, rotating credentials and keys, updating software, and reviewing logs to assess exposure.

Article Details

Attack Vectors
  • Compromise of a legitimate WooCommerce store, reportedly often through a vulnerable or outdated plugin or theme, exposed administrator credentials, or a known CMS vulnerability, followed by web-shell access.
  • Planting a backdoor and injecting or loading a JavaScript skimmer on the checkout page, including from a theme file, plugin, database, or attacker-controlled host.
  • Overlaying first-party payment fields that imitate the legitimate Stripe payment element to capture card details and customer email during genuine purchases.
  • Encoding captured payment data and sending it to an attacker-controlled collection endpoint.
Defensive Notes
  • Monitor checkout-page integrity and use CSP restrictions for script-src and connect-src; investigate unexpected scripts, first-party card inputs, and connections to non-processor hosts.
  • Use Subresource Integrity for third-party scripts and file-integrity monitoring for themes, plugins, and core files.
  • Review WordPress and WooCommerce database content for injected scripts or encoded blobs, and investigate unexplained analytics opt-out flags.
  • If compromised, take the checkout offline, locate and remove both the skimmer and enabling web shell or backdoor, reset credentials, rotate API keys, update or remove vulnerable extensions, and review logs to assess exposure.

MITRE ATT&CK

Products

Tools

Industries

Related Articles