{"id":10620,"date":"2026-12-01T12:38:10","date_gmt":"2026-12-01T12:38:10","guid":{"rendered":"https:\/\/cybersecurityinfocus.com\/?p=10620"},"modified":"2026-12-01T12:38:10","modified_gmt":"2026-12-01T12:38:10","slug":"react2keys-makes-forgotten-react2shell-exposure-an-expensive-mistake","status":"publish","type":"post","link":"https:\/\/cybersecurityinfocus.com\/?p=10620","title":{"rendered":"React2Keys makes forgotten React2Shell exposure an expensive mistake"},"content":{"rendered":"<div>\n<div class=\"grid grid--cols-10@md grid--cols-8@lg article-column \">\n<div class=\"col-12 col-10@md col-6@lg col-start-3@lg\">\n<div class=\"article-column__content\">\n<div class=\"container\"><\/div>\n<p class=\"wp-block-paragraph\">Nearly a year after the disclosure of the critical React2Shell vulnerability, attackers are still abusing exposed Next.js servers in large-scale credential harvesting operations. <\/p>\n<p class=\"wp-block-paragraph\">A campaign dubbed React2Keys has stolen more than 50,000 credentials spanning AI services, cloud infrastructure, databases, payment platforms and cryptocurrency services, according to CloudSEK.<\/p>\n<p class=\"wp-block-paragraph\">The campaign exploits <a href=\"https:\/\/www.csoonline.com\/article\/4100653\/developers-urged-to-immediately-upgrade-react-next-js-2.html\" target=\"_blank\" rel=\"noopener\">CVE-2025-55182<\/a>, a critical unauthenticated remote code execution vulnerability affecting React Server Components and frameworks such as Next.js. CloudSEK said the operation compromised infrastructure associated with more than 400 organizations, with its investigation uncovering over 19,000 affected hosts and victims worldwide.<\/p>\n<p class=\"wp-block-paragraph\">\u201cReact2Keys isn\u2019t just plausible, it happened,\u201d said <a href=\"https:\/\/www.linkedin.com\/in\/crystal-morin\" target=\"_blank\" rel=\"noopener\">Crystal Morin<\/a>, senior cybersecurity strategist at Sysdig. \u201cCloudSEK recovered the attacker\u2019s exfiltration logs, so the 400+ figure is the count from the operator\u2019s records.\u201d<\/p>\n<p class=\"wp-block-paragraph\">The campaign\u2019s mechanics also explain how attackers could reach such a large number of exposed deployments, Morin added.<\/p>\n<p class=\"wp-block-paragraph\">Attackers identified, tested, and ranked credentials, with some compromised cloud resources also used to finance further scanning, CloudSEK said in a blog <a href=\"https:\/\/www.cloudsek.com\/blog\/react2keys-react2shell-ai-powered-credential-theft\" target=\"_blank\" rel=\"noopener\">post<\/a>.<\/p>\n<h2 class=\"wp-block-heading\"><a><\/a>Lingering exposure identified through automated discovery<\/h2>\n<p class=\"wp-block-paragraph\">The campaign reportedly used an automated discovery pipeline that monitored six public Certificate Transparency logs every three minutes. These logs recorded newly issued TLS certificates, allowing the attacker to identify newly deployed domains and add them to its scanning queue almost immediately, the researchers said.<\/p>\n<p class=\"wp-block-paragraph\">The deployments were then fingerprinted to identify Next.js applications, probing those potentially vulnerable. CloudSEK found that the exploit could be delivered through a single unauthenticated HTTP POST request to a route accessible through Next.js Server Actions. A crafted React Flight payload triggers prototype pollution, allowing arbitrary JavaScript execution within the server\u2019s Node.js process.<\/p>\n<p class=\"wp-block-paragraph\">\u201cReact2Keys\u2019 impact is comparable to that of <a href=\"https:\/\/www.csoonline.com\/article\/4095578\/new-shai-hulud-worm-spreading-through-npm-github.html\">Shai-Hulud<\/a>, the self-replicating npm worm that infected hundreds of packages in its first wave in 2025 and leaked credentials from over 25,000 GitHub repositories in its <a href=\"https:\/\/www.csoonline.com\/article\/4136476\/shai-hulud-style-npm-worm-hits-ci-pipelines-and-ai-coding-tools.html\">second<\/a>,\u201d Morin said. \u201cReact2Keys doesn\u2019t self-propagate \u2014 it\u2019s an operator-run scanning campaign \u2014 but both threats are big, automated, and fueled by stolen secrets.\u201d<\/p>\n<p class=\"wp-block-paragraph\">The vulnerability, <a href=\"https:\/\/www.csoonline.com\/article\/4101890\/warning-react2shell-vulnerability-already-being-exploited-by-threat-actors.html\">disclosed in December 2025<\/a>, carries critical severity as its exploitation does not require an authenticated session, making internet-facing deployments particularly vulnerable. The React and Next.js maintainers released patches shortly after disclosure, but the React2Keys findings reveal systems remaining exposed.<\/p>\n<p class=\"wp-block-paragraph\">CloudSEK also found that the attacker could work around certain defensive configurations. When a payload was blocked at the Cloudflare edge, a dedicated module attempted to identify the underlying origin server and target it directly.<\/p>\n<h2 class=\"wp-block-heading\"><a><\/a>Stolen Cloud and AI secrets ranked by value<\/h2>\n<p class=\"wp-block-paragraph\">Once inside a vulnerable application, the attacker searched environment variables, configuration files and other locations for credentials. These include AWS, Azure and Google Cloud identities, database logins, SSH keys, payment tokens, cryptocurrency credentials and API keys belonging to AI providers such as OpenAI, Anthropic and Google.<\/p>\n<p class=\"wp-block-paragraph\">CloudSEK said the attacker validated and ranked credentials according to their potential monetary value, distinguishing usable keys from expired, disabled, rate-limited or credit-exhausted ones. Some credits were tested against live services to establish whether they can provide access to working AI models or cloud resources.<\/p>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/www.linkedin.com\/in\/randolphbarr\" target=\"_blank\" rel=\"noopener\">Randolph Barr<\/a>, chief information security officer at Cequence Security, said the inclusion of AI keys alongside cloud and payment credentials reflects how attackers are adapting their harvesting operations to the value of modern application environments.<\/p>\n<p class=\"wp-block-paragraph\">\u201cIf someone steals your AI key, they run their work on your bill, and you only find out when the invoice shows up,\u201d Barr said.<\/p>\n<h2 class=\"wp-block-heading\"><a><\/a>Patching won\u2019t evict attackers already inside<\/h2>\n<p class=\"wp-block-paragraph\">React2Keys also introduces a persistence problem for organizations that treat vulnerability remediation as the end of incident response. CloudSEK found the attacker planting its own <a href=\"https:\/\/www.csoonline.com\/article\/2516651\/known-ssh-snake-bites-more-victims-with-multiple-oss-exploitation.html\">SSH public key<\/a> in compromised accounts\u2019 authorized_key files, potentially preserving access even after the vulnerable application is patched.<\/p>\n<p class=\"wp-block-paragraph\">\u201cWhat worries me is what the attackers walk away with. They\u2019re grabbing environment variables, cloud keys, database logins, and AI keys, and those keep working even after the app gets patched,\u201d Barr said. \u201cYou also must rotate everything that was sitting on that server and check for anything they left behind, like SSH keys you don\u2019t recognize.\u201d<\/p>\n<p class=\"wp-block-paragraph\">The researchers also identified the reuse of stolen cloud credentials to fund additional scanning infrastructure, including AWS Lambda workers and virtual machines. In effect, compromised organizations can become part of the attacker\u2019s operational infrastructure, with their own cloud resources helping discover further targets.<\/p>\n<p class=\"wp-block-paragraph\">\u201cIf I were a defender, I\u2019d patch fast, keep secrets out of environment variables where I can, use short-lived credentials, lock down cloud roles, and set hard spend limits and alerts on AI usage so a stolen key can\u2019t run up an open tab,\u201d Barr added.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Nearly a year after the disclosure of the critical React2Shell vulnerability, attackers are still abusing exposed Next.js servers in large-scale credential harvesting operations. A campaign dubbed React2Keys has stolen more than 50,000 credentials spanning AI services, cloud infrastructure, databases, payment platforms and cryptocurrency services, according to CloudSEK. The campaign exploits CVE-2025-55182, a critical unauthenticated remote [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":10621,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10620","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-education"],"_links":{"self":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts\/10620"}],"collection":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10620"}],"version-history":[{"count":0,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/posts\/10620\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=\/wp\/v2\/media\/10621"}],"wp:attachment":[{"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cybersecurityinfocus.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}