Global Technology

China-linked hackers steal 50,000 credentials via React vulnerability

China-linked hackers exploited the React2Shell vulnerability to steal over 50,000 credentials from 400 organizations. The campaign used AI services like Gemini and Claude to validate stolen API keys and target cloud identities, databases, and cryptocurrency wallets.

China-linked hackers steal 50,000 credentials via React vulnerability

Automated exploitation of React Server Components

CloudSEK researchers uncovered a ten-day campaign between November 9 and 19 that stole over 50,000 credentials from at least 19,000 hosts at 400 organizations. China-linked hackers exploited the React2Shell (CVE-2025-55182) remote code execution vulnerability in React Server Components to target unpatched Node.js servers. This flaw lets remote attackers run code on vulnerable servers, including those hosting Next.js applications, without authenticating. The attacker used newly issued TLS certificates to find targets and polled six public Certificate Transparency logs every three minutes so a new certificate becomes a scan target within minutes of deployment. After scanning domains, the attackers deduplicated domains by registrable domain, fingerprinted Next.js from compromised server networks, and found that only about 3% of the unique domains passed. This campaign is a massive security failure for organizations relying on unpatched Next.js applications. Researchers recovered a 1.9-million-line exfiltration log, per-victim data, and a toolkit comprising over 900,000 files during their investigation.

AI-driven credential validation and theft

The operation reached beyond initial hosts to access cloud identities, databases, Git repositories, and secrets managers. After the initial breach, the attacker checked the validity of stolen secrets and ranked them by estimated value, as they specifically flagged crypto credentials that could move funds. The attackers used multiple AI services to validate stolen credentials. They used OpenRouter to test stolen API keys against four Claude models, Azure AI Foundry to check access to Claude deployments, and Gemini to verify stolen Google API keys.

Asset Type Specific Examples
Cloud Access AWS access keys, Azure managed-identity tokens, Google Cloud service-account keys
AI/API Tokens Anthropic, OpenAI, and Google Gemini API keys, Claude Code OAuth tokens
Developer Tools GitHub access tokens
Databases PostgreSQL, Redis, and MongoDB credentials
Financial Cryptocurrency exchange API keys and wallet private keys

Researchers say the attacker also used stolen Claude Code OAuth tokens to run AI requests that billed the victims. To maintain access, the attacker planted an SSH key on compromised environments and used stolen cloud credentials to expand scanning. Organizations must patch affected systems, rotate exposed credentials, audit cloud identity usage, and remove unauthorized SSH keys. Simply patching the vulnerability fails because stolen credentials and planted SSH access remain usable.