React2Keys Hackers Exploit React2Shell to Steal 50,000 Credentials From Over 19,000 Servers

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


A credential theft campaign called React2Keys exploited the critical React2Shell vulnerability to steal more than 50,000 credentials across more than 19,000 reported victims.

The stolen data included cloud access keys, database passwords, AI service tokens, and credentials for payment systems, domain registrars, and cryptocurrency platforms.

The campaign targeted internet-facing applications running vulnerable React Server Components, including Next.js deployments. The numbers describe different parts of the breach. The 50,000 figure counts credentials, not people or companies.

The report separately links compromised software build, cloud, and AI infrastructure to more than 400 organizations. Victims spanned dozens of countries, multiple cloud providers, and both large enterprises and small businesses. The findings point to a campaign that pursued exposed systems rather than a particular industry or region.

Researchers from CloudSEK’s threat intelligence team identified the campaign’s credential-stealing toolkit after examining the operator’s infrastructure.

They recovered a 1.9-million-line log of stolen data, folders holding results for individual victims, and a toolkit containing more than 900,000 files. The material showed how the operator collected secrets, tested whether they still worked, and ranked them by likely value.

React2Keys Hackers Exploit React2Shell

React2Shell, tracked as CVE-2025-55182, lets attackers run code on a vulnerable server without signing in. The CISA React2Shell catalog entry followed reports of active exploitation in December 2025.

The flaw affects how React Server Components process incoming data. React warned that an app could be vulnerable even if its developers had not explicitly added React Server Functions.

Once inside a server, the toolkit searched environment variables and files used to store application secrets. That gave the operator access to credentials for services that were not themselves vulnerable to React2Shell.

Modus Operandi (Source - CloudSEK)
Modus Operandi (Source – CloudSEK)

An earlier Next.js credential breach showed how the same flaw could expose databases and cloud accounts in a matter of hours. In React2Keys, investigators also found evidence that the operator retrieved repository archives and used a stolen vault credential to access other secrets.

The toolkit also went after temporary cloud credentials. Those credentials can give an application access to other services without keeping a permanent key on disk.

CloudSEK documented activity involving AWS, Azure, and Google Cloud identities, as well as access to PostgreSQL, Redis, and MongoDB. For responders, that means finding no static cloud keys on a compromised host does not rule out access to the wider cloud account.

The operator tested stolen AI keys against providers such as OpenAI, Anthropic, and Google, distinguishing working credentials from those that were out of credit, disabled, or rate-limited.

CloudSEK also traced a cloud token in the operator’s provisioning scripts back to a victim. The finding shows how one breach helped fund the infrastructure used to look for the next one.

Why Patching React2Shell Is Not Enough

Organizations should upgrade affected React and Next.js deployments to current patched releases for their release branch. The official React security advisory lists the original fixes, but teams should check newer advisories before choosing a version.

Patching closes the entry point; it does not invalidate stolen credentials or remove access the operator already set up. Teams investigating a suspected breach should revoke and replace secrets the affected application could read, including database passwords, AI keys, payment tokens, and credentials used to access a secrets manager.

Coverage of Microsoft’s React2Shell mitigation guidance provides context on other campaigns that also targeted cloud identity tokens and planted SSH keys.

Review cloud audit logs, AI usage and billing, and repository access for activity the application would not normally generate. CloudSEK found that the operator added an SSH public key to compromised accounts so access could survive an application update.

Teams should check authorized_keys files for unexpected entries and review SSH logins and scheduled jobs. The CloudSEK campaign exposure checker lets organizations check a domain or work email against the firm’s findings. A lookup is a starting point, not a substitute for examining host and cloud logs.

Indicators of compromise (IoCs):-

Indicator type Source-published value Where to check
SSH public key (Ed25519) AAAAC3NzaC1lZDI1NTE5AAAAINiNfAw552VRo+E3mBu/MHaVsRDcN0BMGuVCjgIyHbb3 Linux ~/.ssh/authorized_keys files. CloudSEK observed the key comment bluelocale-foothold.

Note: IP addresses and domains are intentionally Qdefanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Join ANY.RUN and Torq to learn how TI Feeds can help your SOC detect up to 30% of malicious IOCs earlier & accelerate investigations -> Attend Free Live Webinar

The post React2Keys Hackers Exploit React2Shell to Steal 50,000 Credentials From Over 19,000 Servers appeared first on Cyber Security News.