{"incident":{"slug":"rakuten-securities-oct-2026-staging-waf-bypass-sqli","caseId":"BI-2026-051","organization":"Rakuten Securities","title":"Rakuten Securities: WAF bypass in staging led to SQLi implant and 4.41M unmasked records","shortSummary":"Rakuten Securities confirmed attackers bypassed a missing WAF-lock rule on a third-party staging API on October 27, planted a malicious program using SQL injection, moved internally on November 8, and stole ~4.41M personal records plus ~11.98M login IDs from an unmasked production copy created without required exception approval.","lede":"On December 4, 2026, Japan’s largest online brokerage, Rakuten Securities, published its third incident report laying out a textbook staging-is-production root cause. Unauthorized access began on October 27 against a third-party vendor API in Rakuten’s staging environment where a firewall rule blocking direct traffic around the Web Application Firewall had been left out. Attackers exploited that API with SQL injection to embed a malicious program, pivoted from staging into the internal network on November 8, and reached a verification database holding unmasked production customer records copied for a core-database upgrade test without the company’s required exception approval. Across November 11 and November 15–16, the attackers exfiltrated roughly 4.41 million personal-information records and roughly 11.98 million login-ID-only records before staff noticed on November 16 and shut down every staging server.","incidentDate":"Oct 27–Nov 16, 2026","incidentDateIso":"2026-10-27","incidentEndIso":"2026-11-16","disclosedDate":"Nov 17, 2026","sourceUrl":"https://www.rakuten-sec.co.jp/web/company/newsrelease/pdf/press2026120401.pdf","sourceAuthor":"Rakuten Securities Third Report (Dec 4) & Second Report (Nov 24)","vectorFilter":"API and secrets","timeToDetect":"20 days from Oct 27 staging SQLi start to Nov 16 staff discovery","detectedBy":"Rakuten Securities system staff (Nov 16)","initialAccess":{"label":"Staging API WAF bypass & SQLi","detail":"Missing origin-lock rule exposed third-party vendor API in staging to SQLi implant on Oct 27","evidence":"confirmed"},"secondaryVectorMeta":{"term":"Unmasked prod copy","label":"No exception filed","evidence":"confirmed"},"blastRadius":"~4.41M personal records (incl. ~1.68M asset balances) & ~11.98M login IDs stolen from staging DB","whatItReachedShort":"~4.41M personal-data records (~3.22M accounts, ~1.19M applicants), ~1.68M asset-balance records, and ~11.98M branch/customer code + login ID records","whatHeldShort":"Production core DB untouched; no login passwords, trading PINs, or unauthorized trades confirmed","revisions":[{"id":"Rev A","date":"Dec 5, 2026","note":"First published from Rakuten Securities’ December 4 third report PDF and web notice, November 24 second report confirming record totals, and passive DNS verification on rakuten-sec.co.jp."}],"bodyMarkdown":"## How they got in\n\nStaging environments fail most catastrophically when two quiet shortcuts collide: production data gets copied into a test database while production security controls get left behind. In its December 4, 2026 third report, Rakuten Securities confirmed that exact collision drove a twenty-day intrusion inside its staging environment.\n\nThe attack started on October 27 against an API provided by an external vendor inside Rakuten Securities’ staging environment. Although Rakuten had deployed a Web Application Firewall in front of staging, part of the environment was missing the configuration rule blocking direct traffic that did not pass through the WAF. Attackers reached the exposed third-party API around the WAF, exploited a vulnerability using SQL injection, and embedded a malicious program on the staging host, where monitoring frequency and firewall rules were less strict than in production. Twelve days later, on November 8, the intruders pivoted from staging into the internal environment. [[rakuten-rca]]\n\nRakuten Securities has withheld which external vendor supplied the staging API, the exact flaw or CVE exploited, technical details of the implanted program, the attacker’s IP address, and how the November 8 internal pivot worked. Even without those specifics, the vendor’s own root-cause admission pinpoints both halves of the failure cleanly: an unenforced WAF origin lock paired with lower security parity on staging.\n\n## What it reached\n\nInside the internal staging network sat a verification database holding unmasked production customer data. Rakuten Securities explained that engineers had loaded raw production records there to verify consistent results and performance before and after a core-database software upgrade tied to wide-area business continuity (BCP) testing, judging that masked data would not reproduce performance accurately. Company policy required a formal exception application (irei shinsei) and protective controls before unmasked production data could enter a test environment, but only a standard request was filed, leaving the database without proper reporting or safeguards.\n\nAcross two waves (November 11, and November 15 to November 16), the attackers exfiltrated customer data from that verification database. Rakuten’s November 24 second report confirmed the full scope: roughly 4.41 million personal-information records (about 3.22 million account holders and 1.19 million non-account applicants, covering branch and customer codes, login IDs distinct from Rakuten IDs, names, kana names, dates of birth, addresses, phone numbers, gender, nationality, fax numbers, deposit account details, and registration metadata), including roughly 1.68 million accounts with product-level asset balance totals, 2.71 million self-declared asset bracket codes, and 14,000 self-declared income bracket codes. Separately, roughly 11.98 million accounts had branch/customer codes and login IDs alone exposed. [[rakuten-counts]]\n\nSystem staff discovered the unauthorized access on November 16, shut down every staging server, blocked the attacker’s IP address, formed a president-led emergency response headquarters, notified Japan’s Financial Services Agency (FSA) and Personal Information Protection Commission (PPC), and launched an investigation team with Rakuten Bank, Rakuten Group, Mizuho Financial Group, and external specialists.\n\n## What held\n\nBecause the attackers hit a standalone staging verification copy rather than live trading infrastructure, Rakuten Securities’ production core database stayed untouched, with no intrusion or removal of production data confirmed. Equally important, Rakuten confirmed that login passwords and trading PINs were not leaked, product-level asset totals excluded individual stock holdings, trade histories, and Money Bridge balances, and no unauthorized account logins or fraudulent trades tied to the breach have been confirmed.\n\nRakuten Securities pledged to evaluate individualized compensation if any customer suffers asset harm attributable to the breach, rolled out 24-hour dark-web monitoring, and urged customers to turn on passkey authentication as the brokerage moves toward making passkeys mandatory. Passive DNS on December 5 also confirms that production web traffic sits behind Akamai and that rakuten-sec.co.jp enforces DMARC p=reject, curbing exact-domain email spoofing while customers stay alert for phone, SMS, and postal-mail scams exploiting the leaked contact and balance details. [[rakuten-dns]]\n\n> **Staging holding real customer records is production by another name**\n>\n> Policy checklists do not survive deadline pressure during a core-database migration: when engineers needed unmasked production data in staging, the formal exception process was skipped and nobody noticed until twenty days after SQL injection landed.\n>\n> Make both defenses mechanical rather than procedural: enforce cryptographic or network-level WAF origin locks on every staging endpoint, run production-grade EDR and egress alerts on staging, and build automated masking gates into database-copy pipelines so raw customer tables cannot silently leave production.","narrative":{"howTheyGotIn":["Staging environments fail most catastrophically when two quiet shortcuts collide: production data gets copied into a test database while production security controls get left behind. In its December 4, 2026 third report, Rakuten Securities confirmed that exact collision drove a twenty-day intrusion inside its staging environment.","The attack started on October 27 against an API provided by an external vendor inside Rakuten Securities’ staging environment. Although Rakuten had deployed a Web Application Firewall in front of staging, part of the environment was missing the configuration rule blocking direct traffic that did not pass through the WAF. Attackers reached the exposed third-party API around the WAF, exploited a vulnerability using SQL injection, and embedded a malicious program on the staging host, where monitoring frequency and firewall rules were less strict than in production. Twelve days later, on November 8, the intruders pivoted from staging into the internal environment. [[rakuten-rca]]","Rakuten Securities has withheld which external vendor supplied the staging API, the exact flaw or CVE exploited, technical details of the implanted program, the attacker’s IP address, and how the November 8 internal pivot worked. Even without those specifics, the vendor’s own root-cause admission pinpoints both halves of the failure cleanly: an unenforced WAF origin lock paired with lower security parity on staging."],"whatItReached":["Inside the internal staging network sat a verification database holding unmasked production customer data. Rakuten Securities explained that engineers had loaded raw production records there to verify consistent results and performance before and after a core-database software upgrade tied to wide-area business continuity (BCP) testing, judging that masked data would not reproduce performance accurately. Company policy required a formal exception application (irei shinsei) and protective controls before unmasked production data could enter a test environment, but only a standard request was filed, leaving the database without proper reporting or safeguards.","Across two waves (November 11, and November 15 to November 16), the attackers exfiltrated customer data from that verification database. Rakuten’s November 24 second report confirmed the full scope: roughly 4.41 million personal-information records (about 3.22 million account holders and 1.19 million non-account applicants, covering branch and customer codes, login IDs distinct from Rakuten IDs, names, kana names, dates of birth, addresses, phone numbers, gender, nationality, fax numbers, deposit account details, and registration metadata), including roughly 1.68 million accounts with product-level asset balance totals, 2.71 million self-declared asset bracket codes, and 14,000 self-declared income bracket codes. Separately, roughly 11.98 million accounts had branch/customer codes and login IDs alone exposed. [[rakuten-counts]]","System staff discovered the unauthorized access on November 16, shut down every staging server, blocked the attacker’s IP address, formed a president-led emergency response headquarters, notified Japan’s Financial Services Agency (FSA) and Personal Information Protection Commission (PPC), and launched an investigation team with Rakuten Bank, Rakuten Group, Mizuho Financial Group, and external specialists."],"whatHeld":["Because the attackers hit a standalone staging verification copy rather than live trading infrastructure, Rakuten Securities’ production core database stayed untouched, with no intrusion or removal of production data confirmed. Equally important, Rakuten confirmed that login passwords and trading PINs were not leaked, product-level asset totals excluded individual stock holdings, trade histories, and Money Bridge balances, and no unauthorized account logins or fraudulent trades tied to the breach have been confirmed.","Rakuten Securities pledged to evaluate individualized compensation if any customer suffers asset harm attributable to the breach, rolled out 24-hour dark-web monitoring, and urged customers to turn on passkey authentication as the brokerage moves toward making passkeys mandatory. Passive DNS on December 5 also confirms that production web traffic sits behind Akamai and that rakuten-sec.co.jp enforces DMARC p=reject, curbing exact-domain email spoofing while customers stay alert for phone, SMS, and postal-mail scams exploiting the leaked contact and balance details. [[rakuten-dns]]"],"sideNoteTitle":"Staging holding real customer records is production by another name","sideNoteParagraphs":["Policy checklists do not survive deadline pressure during a core-database migration: when engineers needed unmasked production data in staging, the formal exception process was skipped and nobody noticed until twenty days after SQL injection landed.","Make both defenses mechanical rather than procedural: enforce cryptographic or network-level WAF origin locks on every staging endpoint, run production-grade EDR and egress alerts on staging, and build automated masking gates into database-copy pipelines so raw customer tables cannot silently leave production."]},"claims":[{"group":"How they got in","claim":"Unauthorized access began October 27 against a third-party vendor API in Rakuten Securities’ staging environment where a rule blocking traffic that bypassed the WAF was missing; attackers exploited an API flaw using SQL injection to embed a malicious program, then intruded internally from staging on November 8","evidence":"confirmed","source":"Rakuten Securities Third Report (press2026120401.pdf & info20261204-02.html, Dec 4, 2026)","sourceUrl":"https://www.rakuten-sec.co.jp/web/company/newsrelease/pdf/press2026120401.pdf","receiptIds":["rakuten-rca"]},{"group":"How they got in","claim":"Which external vendor supplied the vulnerable staging API, the exact API endpoint or CVE, details of the implanted malicious program, the attacker’s source IP, and the November 8 lateral movement path from staging into the internal verification environment","evidence":"withheld","source":"Withheld by Rakuten Securities during ongoing forensic investigation","sourceUrl":"https://www.rakuten-sec.co.jp/web/company/newsrelease/pdf/press2026120401.pdf","receiptIds":["rakuten-rca"]},{"group":"What it reached","claim":"Unmasked production customer data had been loaded into a staging verification database for a BCP core-database upgrade test without filing the required internal exception approval (irei shinsei); attackers exfiltrated data on November 11 and November 15–16","evidence":"confirmed","source":"Rakuten Securities Third Report (Dec 4, 2026)","sourceUrl":"https://www.rakuten-sec.co.jp/web/company/newsrelease/pdf/press2026120401.pdf","receiptIds":["rakuten-rca"]},{"group":"What it reached","claim":"Confirmed stolen totals from the November 24 second report: ~4.41 million personal-information records (~3.22M account holders and ~1.19M non-account applicants, including names, DOB, addresses, phone numbers, ~1.68M product asset-balance records, ~2.71M self-declared asset codes, and ~14,000 income codes) plus ~11.98 million accounts for branch/customer code and login ID only (distinct from Rakuten ID)","evidence":"confirmed","source":"Rakuten Securities Second Report (info20261124-04.html, Nov 24, 2026)","sourceUrl":"https://www.rakuten-sec.co.jp/web/info/info20261124-04.html","receiptIds":["rakuten-counts"]},{"group":"What held","claim":"No intrusion or data removal from the production core database; no leak of login passwords or trading PINs; no holdings or trade history inside the leaked balance totals; no unauthorized account logins or fraudulent trades confirmed as of December 4","evidence":"confirmed","source":"Rakuten Securities Second & Third Reports (Nov 24 & Dec 4, 2026)","sourceUrl":"https://www.rakuten-sec.co.jp/web/company/newsrelease/pdf/press2026120401.pdf","receiptIds":["rakuten-counts"]},{"group":"Observed public posture","claim":"Passive DNS on December 5 confirms www.rakuten-sec.co.jp runs behind Akamai (www.rakuten-sec.co.jp.edgekey.net), corporate email uses Broadcom/Symantec MessageLabs, and _dmarc.rakuten-sec.co.jp enforces p=reject","evidence":"observed","source":"Passive DNS (Dec 5, 2026)","receiptIds":["rakuten-dns"]}],"receipts":[{"id":"rakuten-rca","kind":"output","evidence":"confirmed","title":"Rakuten Securities Third Report: WAF bypass, SQLi implant, and skipped masking approval (Dec 4)","stub":"Inspect our verified English extraction of Rakuten’s archived Dec 4 Japanese third report","source":{"name":"Rakuten Securities Official Notice (Third Report, Japanese)","host":"www.rakuten-sec.co.jp","url":"https://www.rakuten-sec.co.jp/web/info/info20261204-02.html","date":"Dec 4, 2026"},"saved":"proofs/rakuten-securities-oct-2026-staging-waf-bypass-sqli/rakuten-info-dec4.html","savedAt":"2026-12-05T08:07:41Z","sha256":"18cab1ddd61d93343961191480081f7cfeb860582f439039d3117683800f37bc","command":"curl -sSL https://www.rakuten-sec.co.jp/web/info/info20261204-02.html -o rakuten-info-dec4.html && sha256sum rakuten-info-dec4.html","output":"Archive: rakuten-info-dec4.html (Companion PDF: press2026120401.pdf, published Dec 4, 2026)\nSection 2 (External attack timeline, translated from Japanese):\n  Oct 27, 2026 -> Unauthorized access began against an external-vendor API in staging (STG)\n  Nov  8, 2026 -> Intrusion moved from STG into the internal environment\n  Nov 11 & 15-16 -> Customer information exfiltrated externally\n  Nov 16, 2026 -> System staff noticed; all STG servers halted and attacker IP blocked\nSection 3(1) (STG vulnerability, translated):\n  \"Although a WAF was deployed in STG, part of STG was missing the rule blocking\n   access not passing through the WAF. An API flaw in STG was exploited and a\n   malicious program was embedded using SQL injection.\"\nSection 3(2) (Unmasked production data, translated):\n  \"Unmasked production data was used for a BCP core-DB upgrade test; internal rules\n   require a formal exception application (irei shinsei) and safeguards, but only a\n   standard request was filed.\"","picked":{"caption":"Confirmed root cause in Rakuten Securities’ Dec 4 third report","lines":["Oct 27: missing WAF bypass-block on external-vendor STG API -> SQL injection implant","Nov 8 pivot -> unmasked production copy loaded without required exception approval (irei shinsei)"]},"shows":"Confirms the complete chain directly from Rakuten Securities’ archived Dec 4 Japanese notice and press PDF (`press2026120401.pdf`): missing WAF bypass-block on a third-party staging API (Oct 27), SQLi program implant, internal intrusion (Nov 8), exfiltration waves (Nov 11 & 15–16), and skipped exception approval for unmasked production data.","leavesOut":"Names neither the external API vendor nor the specific CVE, implant artifact, attacker IP, or Nov 8 lateral path."},{"id":"rakuten-counts","kind":"output","evidence":"confirmed","title":"Rakuten Securities Second Report: confirmed record totals and untouched credentials (Nov 24)","stub":"Inspect our verified English extraction of Rakuten’s archived Nov 24 Japanese record-count notice","source":{"name":"Rakuten Securities Official Notice (Second Report, Japanese)","host":"www.rakuten-sec.co.jp","url":"https://www.rakuten-sec.co.jp/web/info/info20261124-04.html","date":"Nov 24, 2026"},"saved":"proofs/rakuten-securities-oct-2026-staging-waf-bypass-sqli/rakuten-info-nov24.html","savedAt":"2026-12-05T08:18:27Z","sha256":"32c4bde6192a9ab7f4f61fa9ca450e9d909248c415b7ca7db52cc3ca7542d515","command":"curl -sSL https://www.rakuten-sec.co.jp/web/info/info20261124-04.html -o rakuten-info-nov24.html && sha256sum rakuten-info-nov24.html","output":"Archive: rakuten-info-nov24.html (Published Nov 24, 2026; referenced by Dec 4 Third Report)\nConfirmed exfiltrated totals (translated from Japanese):\n  Personal-information records:  ~4,410,000 total\n    - Existing account holders:  ~3,220,000 accounts\n    - Non-account applicants:    ~1,190,000 records\n  Included financial metadata:\n    - Product asset balances:    ~1,680,000 accounts (excludes holdings, trades & Money Bridge)\n    - Self-declared asset tier:  ~2,710,000 records (selected code only, no exact yen figure)\n    - Self-declared income tier:    ~14,000 records (selected code only)\n  Branch/customer code + login ID only (distinct from Rakuten ID): ~11,980,000 accounts\nConfirmed NOT leaked:\n  Login passwords, trading PINs, unauthorized account logins, and unauthorized trades: none","picked":{"caption":"Victim-confirmed counts and untouched credentials (Nov 24 notice)","lines":["~4.41M personal records (~3.22M account holders, ~1.19M applicants, ~1.68M balance totals)","~11.98M branch/customer code + login ID only; zero leaked passwords, PINs, or trades"]},"shows":"Pins the exact victim-confirmed counts from Rakuten’s archived Nov 24 Japanese notice and confirms passwords, trading PINs, and unauthorized trades were not involved.","leavesOut":"Whether the stolen records have appeared on criminal markets or been used in targeted phone or mail fraud against customers."},{"id":"rakuten-dns","kind":"output","evidence":"observed","title":"Passive DNS for www.rakuten-sec.co.jp and _dmarc.rakuten-sec.co.jp","stub":"Inspect passive DNS confirming Akamai edge delivery, MessageLabs MX, and DMARC p=reject","source":{"name":"Passive DNS (Dec 5, 2026)","host":"rakuten-sec.co.jp","date":"Dec 5, 2026"},"saved":"proofs/rakuten-securities-oct-2026-staging-waf-bypass-sqli/rakuten-dns.txt","savedAt":"2026-12-05T08:08:21Z","sha256":"b0a3ea8614457001f27e21e322c0f6cf096258df5acfb0ee165bb6db71a987f8","command":"dig +short CNAME www.rakuten-sec.co.jp && dig +short MX rakuten-sec.co.jp && dig +short TXT _dmarc.rakuten-sec.co.jp","output":"www.rakuten-sec.co.jp CNAME -> www.rakuten-sec.co.jp.edgekey.net. (Akamai, 23.220.113.29)\nrakuten-sec.co.jp MX -> 10 cluster1.us.messagelabs.com., 20 cluster1a.us.messagelabs.com.\n_dmarc.rakuten-sec.co.jp TXT -> \"v=DMARC1; p=reject; rua=mailto:dmarc-report-a@rx.rakuten.co.jp\"","picked":{"caption":"Production edge and anti-spoofing posture","lines":["www.rakuten-sec.co.jp routes behind Akamai edgekey.net","_dmarc.rakuten-sec.co.jp enforces p=reject ahead of scam warnings"]},"shows":"Production web traffic sits behind Akamai and `_dmarc.rakuten-sec.co.jp` enforces `p=reject`, reducing exact-domain email spoofing during follow-on social engineering.","leavesOut":"Staging hostnames, origin firewall rules, or which third-party API endpoint missed the WAF lockdown."}],"response":{"audience":"Rakuten Securities customers and engineering teams operating staging or pre-production environments","plain":[{"title":"Enable passkey sign-in on your brokerage account right away","text":"Passwords and trading PINs were not leaked, but stolen login IDs, names, addresses, and asset balances make targeted phishing much easier. Rakuten Securities is moving toward mandatory passkey login, so switch passkeys on now in your security settings."},{"title":"Treat phone calls, SMS messages, and postal mail mentioning your balance as suspect","text":"Rakuten Securities states its emails contain no clickable links and its staff never ask for personal or login details by phone. Because physical addresses, phone numbers, and product-level balances were exposed, verify any contact through the official app or bookmarked website, and use the in-account freeze setting for trading or withdrawals if anything looks off."},{"title":"Lock down staging environments so they can never hold raw production data or bypass a WAF","text":"If you run staging or pre-production systems, stop treating them as low-risk sandboxes. Require automated masking before production tables can copy into test databases, and make every staging server refuse direct connections that skip your firewall."}],"firstHour":[{"do":"Audit every staging, QA, and pre-production origin for direct-to-IP exposure that bypasses your WAF or CDN","why":"Rakuten Securities confirmed attackers entered staging on Oct 27 because part of staging lacked the rule blocking traffic that did not pass through the WAF.","receipt":"rakuten-rca"},{"do":"Inventory every non-production database for unmasked production customer tables and revoke ad-hoc DB-copy permissions","why":"A policy requiring exception approval failed in practice; only an automated masking gate stops unmasked PII from sitting inside weaker staging networks.","receipt":"rakuten-rca"},{"do":"Enable real-time EDR, database activity monitoring, and outbound egress alerting on staging servers equal to production","why":"Attackers dwelled 20 days in Rakuten’s staging environment (Oct 27 to Nov 16) and exfiltrated ~4.41M records across two waves before staff spotted the activity.","receipt":"rakuten-counts"},{"do":"Rakuten Securities customers: turn on passkey login inside the authenticated portal and check in-account breach notices directly without following email or SMS links","why":"Login IDs, phone numbers, addresses, and asset balances are prime material for voice-phishing and impersonation scams even though passwords stayed safe.","receipt":"rakuten-counts"}],"hunt":[{"lookIn":"Staging load-balancer, reverse-proxy, and firewall flow logs","signal":"Inbound HTTP(S) requests hitting a staging application or third-party vendor API directly without traversing your WAF/CDN egress IP ranges or carrying your signed origin-auth header.","realHit":"Direct-to-origin requests carrying SQL syntax anomalies (`UNION SELECT`, `xp_cmdshell`, `INTO OUTFILE`, stacked queries) followed by newly written web files or unexpected child processes on the app host.","noise":"Internal synthetic health checks or private VPC monitoring probes (allowlist those specific internal CIDRs explicitly and deny all other non-WAF sources).","receipt":"rakuten-rca","receiptOn":"signal","code":"rk-enforce-waf-origin-lock"},{"lookIn":"Staging database audit logs and VPC egress flow logs","signal":"Bulk multi-table `SELECT` dumps from verification or staging databases followed by large outbound transfers to external IP addresses outside CI/backup schedules.","realHit":"Millions of rows read from customer PII or balance tables by a staging application service account outside scheduled load-test hours, paired with outbound connections to an unfamiliar ASN.","noise":"Scheduled synthetic performance benchmarks running against anonymized seed data during documented test windows.","receipt":"rakuten-counts","receiptOn":"realHit","code":"rk-hunt-staging-sqli-and-egress"}],"also":{"who":"Financial institutions running BCP or core-database migration rehearsals","text":"If a database upgrade test truly requires production-scale statistical fidelity, run it inside a zero-egress, production-tier enclave with synthetic or tokenized identifiers, strict time-boxed expiry, and real-time SIEM paging rather than a standard staging VPC."}},"stack":{"observedOn":"Dec 5, 2026","intro":"From the leaked customer records inside Rakuten Securities’ staging verification database down to the WAF-bypassed third-party staging API, observed production Akamai/DMARC controls, and the production core database that stayed safe. Yellow marks confirmed compromised layers; white maps public edge records; green stayed safe.","layers":[{"label":"Staging verification database (unmasked production copy)","status":"hit","statusText":"~4.41M PII + ~11.98M IDs","evidence":"confirmed","plain":"Copied with unmasked production data for a BCP core-database update test without the required internal exception approval, then drained across November 11 and November 15–16.","technical":["Confirmed stolen (Nov 24 2nd report): ~`4.41M` personal-data records (~`3.22M` account holders, ~`1.19M` non-account applicants, incl. ~`1.68M` asset-balance records, ~`2.71M` self-declared asset codes, ~`14,000` income codes).","Separate branch/customer code + login ID only exposure: ~`11.98M` accounts (distinct from Rakuten ID)."]},{"label":"Third-party vendor API in staging (missing WAF block rule)","status":"hit","statusText":"WAF bypass & SQLi","evidence":"confirmed","plain":"A missing firewall rule allowed direct access around the staging WAF to a vulnerable third-party vendor API, where SQL injection embedded a malicious program on October 27 before internal pivoting on November 8.","technical":["Attack timeline (Dec 4 3rd report): Oct 27 staging API abuse -> SQLi program implant -> Nov 8 internal intrusion -> Nov 11 & 15–16 exfiltration -> Nov 16 detection and full staging shutdown.","Staging lacked production-equivalent monitoring frequency and strict firewall controls."]},{"label":"Production web delivery and email anti-spoofing","status":"context","statusText":"Public records","evidence":"observed","plain":"Rakuten Securities serves its public website behind Akamai, routes corporate email through MessageLabs, and enforces DMARC rejection to blunt spoofed follow-on phishing.","vendors":[{"name":"Akamai","initial":"A","technical":"`www.rakuten-sec.co.jp` CNAME `www.rakuten-sec.co.jp.edgekey.net` (`23.220.113.29`)."},{"name":"Symantec MessageLabs","initial":"M","technical":"MX `cluster1/cluster1a.us.messagelabs.com`; `_dmarc.rakuten-sec.co.jp` enforces `p=reject`."}]},{"label":"Production core database, passwords, and customer trades","status":"safe","statusText":"Production untouched","evidence":"confirmed","plain":"Rakuten Securities confirmed zero intrusion into its production core database, zero leaked passwords or trading PINs, and zero confirmed unauthorized logins or trades.","technical":["All staging servers halted and source IP blocked on Nov 16; full production and test audit conducted Nov 20–25 with Rakuten Bank, Mizuho Financial Group, and external experts.","24/7 dark-web monitoring active; FSA and Personal Information Protection Commission (PPC) notified."]},{"label":"Not known yet","status":"unknown","statusText":"Not known yet","evidence":"withheld","items":["Name of the external vendor supplying the vulnerable staging API, the exact vulnerability or CVE, and technical details of the implanted program.","How the attackers moved from the staging server into the internal verification environment on November 8, and whether stolen records have surfaced on underground markets."]}],"foot":"White layers come from passive DNS checked Dec 5, 2026; Akamai and MessageLabs records map public production posture only and do not identify staging architecture."},"diagram":{"label":"How a missing WAF origin-lock on a third-party staging API led to SQL injection, internal movement, and theft of 4.41M unmasked customer records","zones":[{"id":"edge","label":"Staging perimeter","kind":"boundary","lane":0},{"id":"pivot","label":"Internal staging DB","kind":"boundary","lane":1},{"id":"impact","label":"Data exfiltration","kind":"boundary","lane":2},{"id":"safe","label":"Stayed safe","kind":"isolated","lane":1}],"nodes":[{"id":"rk-waf","zone":"edge","name":"WAF bypassed","detail":"3rd-party staging API","kind":"compromised","ev":"confirmed","at":0,"story":"Although Rakuten Securities deployed a WAF in staging, part of the staging environment lacked the rule blocking direct traffic that did not pass through the WAF. On October 27, attackers began abusing an external vendor’s API exposed behind that gap. The vendor name and specific CVE are withheld.","when":"Oct 27, 2026","steps":[1],"ctl":["rk-k1"]},{"id":"rk-sqli","zone":"edge","name":"SQLi implant","detail":"Malicious program","kind":"compromised","ev":"confirmed","at":1,"story":"Exploiting a vulnerability in that staging API, the attackers used SQL injection to embed a malicious program inside the staging environment, where monitoring frequency and firewall controls were weaker than production.","when":"Oct 27–Nov 7","steps":[1,2],"ctl":["rk-k2"]},{"id":"rk-db","zone":"pivot","name":"Unmasked prod copy","detail":"No exception filed","kind":"compromised","ev":"confirmed","at":2,"story":"On November 8, the attackers moved from staging into the internal environment and reached a verification database holding unmasked production customer records loaded for a BCP core-database upgrade test. Internal rules required formal exception approval and safeguards before using unmasked production data, but only a standard request was filed.","when":"Nov 8, 2026","steps":[2,3],"ctl":["rk-k3"]},{"id":"rk-exfil","zone":"impact","name":"4.41M records stolen","detail":"Plus 11.98M login IDs","kind":"compromised","ev":"confirmed","at":3,"story":"Attackers exfiltrated data on November 11 and again on November 15–16: ~4.41M personal records (~3.22M account holders, ~1.19M non-account applicants, incl. ~1.68M asset-balance records) plus ~11.98M branch/customer code and login ID records. Staff spotted the intrusion on November 16, shut down all staging servers, and blocked the attacker IP.","when":"Nov 11 & 15–16","steps":[3,4],"ctl":["rk-d1","rk-k4"]},{"id":"rk-safe1","zone":"safe","name":"Production core DB","detail":"Untouched","kind":"isolated","ev":"confirmed","at":0,"story":"Rakuten Securities confirmed no intrusion into its production core database and no data removal from production systems.","when":"Confirmed Dec 4"},{"id":"rk-safe2","zone":"safe","name":"Passwords & trades","detail":"No PINs or fraud seen","kind":"isolated","ev":"confirmed","at":0,"story":"No login passwords, trading PINs, holdings lists, or unauthorized account logins or trades have been confirmed; Rakuten Securities is pushing mandatory passkey authentication and runs DMARC p=reject.","when":"Confirmed Dec 4"}],"edges":[{"id":"rke1","from":"rk-waf","to":"rk-sqli","kind":"attack","step":1},{"id":"rke2","from":"rk-sqli","to":"rk-db","kind":"attack","step":2},{"id":"rke3","from":"rk-db","to":"rk-exfil","kind":"attack","step":3}],"steps":[{"n":1,"time":"Oct 27, 2026","short":"Oct 27","text":"Attackers bypass missing WAF-lock rule on a third-party staging API","say":"Direct traffic bypassing the staging WAF reaches a vulnerable third-party vendor API, where SQL injection embeds a malicious program on a server monitored less strictly than production."},{"n":2,"time":"Nov 8, 2026","short":"Nov 8","text":"Intruders pivot internally to a verification DB holding unmasked production data","say":"Twelve days after initial access, the attackers move internally from staging to a verification database loaded with unmasked production customer records without required exception approval."},{"n":3,"time":"Nov 11 & Nov 15–16","short":"Nov 11–16","text":"~4.41M personal records and ~11.98M login IDs exfiltrated in two waves","say":"Customer names, dates of birth, addresses, phone numbers, ~1.68M asset-balance records, and ~11.98M login IDs are extracted before system staff spot the unauthorized access on Nov 16."},{"n":4,"time":"Nov 16–Dec 4, 2026","short":"Nov 16–Dec 4","text":"Staging shut down, FSA/PPC notified, and full root cause published Dec 4","say":"Rakuten Securities halts all staging servers, blocks the source IP, notifies Japan’s FSA and PPC, audits all environments with Mizuho and external experts, and releases its full third report on Dec 4."}],"controls":[{"id":"rk-k1","step":1,"kind":"control","name":"Lock origins to WAF","tag":"Limits step 1","long":"Enforce network ACLs, mTLS, or signed edge headers so staging and production origins reject every connection that does not arrive through the WAF.","nodeId":"rk-waf"},{"id":"rk-k2","step":1,"kind":"control","name":"Parity EDR on staging","tag":"Limits step 1","long":"Apply production-grade EDR, SQLi alerting, and strict egress filtering to every staging host, especially third-party API containers.","nodeId":"rk-sqli"},{"id":"rk-k3","step":2,"kind":"control","name":"Hard-gate prod masking","tag":"Limits step 2","long":"Enforce automated anonymization in database-copy pipelines so unmasked production tables cannot land in staging without technical break-glass approval and short expiry.","nodeId":"rk-db"},{"id":"rk-d1","step":3,"kind":"fired","name":"Staff spotted Nov 16","tag":null,"long":"Rakuten Securities system staff detected the unauthorized access on November 16, shut down all staging servers, and blocked the attacker IP address.","nodeId":"rk-exfil"},{"id":"rk-k4","step":3,"kind":"control","name":"Alert bulk staging reads","tag":"Limits step 3","long":"Deploy real-time database activity monitoring and staging VPC egress thresholds to flag multi-million-row SELECTs and external data transfers immediately.","nodeId":"rk-exfil"}],"detectedAt":{"time":"Nov 16, 2026 (20 days after Oct 27 staging API abuse began)","short":"Detected Nov 16","text":"Rakuten Securities system staff noticed the unauthorized access on November 16, stopped all staging servers, blocked the attacker IP, and formed an executive response headquarters."}},"plate":{"W":962,"H":380,"label":"How a missing WAF origin-lock on a third-party staging API led to SQL injection, internal movement, and theft of 4.41M unmasked customer records","zones":[{"id":"edge","label":"Staging perimeter","kind":"boundary","x":8,"y":16,"w":208,"h":212},{"id":"pivot","label":"Internal staging DB","kind":"boundary","x":254,"y":16,"w":440,"h":110},{"id":"safe","label":"Stayed safe","kind":"isolated","x":254,"y":146,"w":440,"h":110},{"id":"impact","label":"Data exfiltration","kind":"boundary","x":732,"y":16,"w":222,"h":110}],"nodes":[{"id":"rk-waf","name":"WAF bypassed","detail":"3rd-party staging API","kind":"compromised","ev":"confirmed","x":20,"y":52,"w":184,"at":0,"story":"Although Rakuten Securities deployed a WAF in staging, part of the staging environment lacked the rule blocking direct traffic that did not pass through the WAF. On October 27, attackers began abusing an external vendor’s API exposed behind that gap. The vendor name and specific CVE are withheld.","when":"Oct 27, 2026","steps":[1],"ctl":["rk-k1"]},{"id":"rk-sqli","name":"SQLi implant","detail":"Malicious program","kind":"compromised","ev":"confirmed","x":20,"y":154,"w":184,"at":1,"story":"Exploiting a vulnerability in that staging API, the attackers used SQL injection to embed a malicious program inside the staging environment, where monitoring frequency and firewall controls were weaker than production.","when":"Oct 27–Nov 7","steps":[1,2],"ctl":["rk-k2"]},{"id":"rk-db","name":"Unmasked prod copy","detail":"No exception filed","kind":"compromised","ev":"confirmed","x":380,"y":52,"w":187,"at":2,"story":"On November 8, the attackers moved from staging into the internal environment and reached a verification database holding unmasked production customer records loaded for a BCP core-database upgrade test. Internal rules required formal exception approval and safeguards before using unmasked production data, but only a standard request was filed.","when":"Nov 8, 2026","steps":[2,3],"ctl":["rk-k3"]},{"id":"rk-safe1","name":"Production core DB","detail":"Untouched","kind":"isolated","ev":"confirmed","x":266,"y":182,"w":185,"at":0,"story":"Rakuten Securities confirmed no intrusion into its production core database and no data removal from production systems.","when":"Confirmed Dec 4"},{"id":"rk-safe2","name":"Passwords & trades","detail":"No PINs or fraud seen","kind":"isolated","ev":"confirmed","x":495,"y":182,"w":187,"at":0,"story":"No login passwords, trading PINs, holdings lists, or unauthorized account logins or trades have been confirmed; Rakuten Securities is pushing mandatory passkey authentication and runs DMARC p=reject.","when":"Confirmed Dec 4"},{"id":"rk-exfil","name":"4.41M records stolen","detail":"Plus 11.98M login IDs","kind":"compromised","ev":"confirmed","x":744,"y":52,"w":198,"at":3,"story":"Attackers exfiltrated data on November 11 and again on November 15–16: ~4.41M personal records (~3.22M account holders, ~1.19M non-account applicants, incl. ~1.68M asset-balance records) plus ~11.98M branch/customer code and login ID records. Staff spotted the intrusion on November 16, shut down all staging servers, and blocked the attacker IP.","when":"Nov 11 & 15–16","steps":[3,4],"ctl":["rk-d1","rk-k4"]}],"edges":[{"id":"rke1","kind":"attack","step":1,"pts":[[112,110],[112,154]]},{"id":"rke2","kind":"attack","step":2,"pts":[[204,183],[292,183],[292,81],[380,81]]},{"id":"rke3","kind":"attack","step":3,"pts":[[567,81],[744,81]]}],"balloons":{"1":[112,132],"2":[292,132],"3":[656,81],"4":[726,78]},"noroute":[{"x1":216,"x2":254,"y":188,"label":"No route"}],"bps":[{"id":"rk-k1","step":1,"kind":"control","at":[112,132],"name":"Lock origins to WAF","tag":"Limits step 1","lead":[[112,121],[112,104],[124,104]],"lx":130,"ly":108,"anchor":"start","long":"Enforce network ACLs, mTLS, or signed edge headers so staging and production origins reject every connection that does not arrive through the WAF.","nodeId":"rk-waf"},{"id":"rk-k2","step":1,"kind":"control","at":[112,132],"name":"Parity EDR on staging","tag":"Limits step 1","lead":[[112,143],[112,154],[124,154]],"lx":130,"ly":158,"anchor":"start","long":"Apply production-grade EDR, SQLi alerting, and strict egress filtering to every staging host, especially third-party API containers.","nodeId":"rk-sqli"},{"id":"rk-k3","step":2,"kind":"control","at":[292,132],"name":"Hard-gate prod masking","tag":"Limits step 2","lead":[[292,121],[292,104],[304,104]],"lx":310,"ly":108,"anchor":"start","long":"Enforce automated anonymization in database-copy pipelines so unmasked production tables cannot land in staging without technical break-glass approval and short expiry.","nodeId":"rk-db"},{"id":"rk-d1","step":3,"kind":"fired","at":[656,109],"name":"Staff spotted Nov 16","tag":null,"lead":[[656,120],[656,131],[644,131]],"lx":638,"ly":135,"anchor":"end","long":"Rakuten Securities system staff detected the unauthorized access on November 16, shut down all staging servers, and blocked the attacker IP address.","nodeId":"rk-exfil"},{"id":"rk-k4","step":3,"kind":"control","at":[656,81],"name":"Alert bulk staging reads","tag":"Limits step 3","lead":[[656,70],[656,53],[644,53]],"lx":638,"ly":57,"anchor":"end","long":"Deploy real-time database activity monitoring and staging VPC egress thresholds to flag multi-million-row SELECTs and external data transfers immediately.","nodeId":"rk-exfil"}],"steps":[{"n":1,"time":"Oct 27, 2026","short":"Oct 27","text":"Attackers bypass missing WAF-lock rule on a third-party staging API","say":"Direct traffic bypassing the staging WAF reaches a vulnerable third-party vendor API, where SQL injection embeds a malicious program on a server monitored less strictly than production."},{"n":2,"time":"Nov 8, 2026","short":"Nov 8","text":"Intruders pivot internally to a verification DB holding unmasked production data","say":"Twelve days after initial access, the attackers move internally from staging to a verification database loaded with unmasked production customer records without required exception approval."},{"n":3,"time":"Nov 11 & Nov 15–16","short":"Nov 11–16","text":"~4.41M personal records and ~11.98M login IDs exfiltrated in two waves","say":"Customer names, dates of birth, addresses, phone numbers, ~1.68M asset-balance records, and ~11.98M login IDs are extracted before system staff spot the unauthorized access on Nov 16."},{"n":4,"time":"Nov 16–Dec 4, 2026","short":"Nov 16–Dec 4","text":"Staging shut down, FSA/PPC notified, and full root cause published Dec 4","say":"Rakuten Securities halts all staging servers, blocks the source IP, notifies Japan’s FSA and PPC, audits all environments with Mizuho and external experts, and releases its full third report on Dec 4."}],"stripRows":[{"id":"sr-step-1","nodeId":"rk-sqli","step":1,"lineStyle":"solid","bpIds":["rk-k1","rk-k2"]},{"id":"sr-step-2","nodeId":"rk-db","step":2,"lineStyle":"solid","bpIds":["rk-k3"]},{"id":"sr-step-3","nodeId":"rk-exfil","step":3,"lineStyle":"solid","bpIds":["rk-d1","rk-k4"]}],"detectedAt":{"time":"Nov 16, 2026 (20 days after Oct 27 staging API abuse began)","short":"Detected Nov 16","text":"Rakuten Securities system staff noticed the unauthorized access on November 16, stopped all staging servers, blocked the attacker IP, and formed an executive response headquarters."}},"codeArtifacts":[{"id":"rk-enforce-waf-origin-lock","filename":"enforce-staging-origin-lock.conf","language":"nginx","description":"Origin reverse-proxy guard refusing any request to staging or third-party APIs that does not present a verified mTLS client certificate or secret header from your WAF. Limits step 1.","code":"# Enforce WAF-only ingress on staging origins (pair with Security Group / firewall IP allowlist)\nserver {\n    listen 443 ssl;\n    server_name stg-api.example.jp;\n\n    ssl_client_certificate /etc/nginx/waf-origin-ca.pem;\n    ssl_verify_client on;\n\n    location / {\n        if ($http_x_waf_origin_secret != \"${WAF_ORIGIN_SECRET}\") {\n            return 403;\n        }\n        proxy_pass http://vendor_api_upstream;\n    }\n}"},{"id":"rk-hunt-staging-sqli-and-egress","filename":"hunt-staging-sqli-and-bulk-select.sql","language":"sql","description":"Audit query flagging anomalous bulk SELECT volume or file-write keywords from staging application database users outside scheduled maintenance windows. Limits steps 2 and 3.","code":"-- Run against PostgreSQL / Oracle / MySQL staging DB audit logs\nSELECT event_time, db_user, client_ip, rows_returned, left(query_text, 160) AS sample\nFROM db_audit_log\nWHERE environment = 'staging'\n  AND (\n    rows_returned > 50000\n    OR query_text ~* '(into\\s+outfile|xp_cmdshell|copy\\s+.*to\\s+program|pg_read_file|union\\s+select)'\n  )\nORDER BY event_time DESC;"}],"reproductionLab":{"title":"Reproduction lab","summary":"Checks your own staging endpoints to verify direct-to-origin HTTP requests without WAF headers are rejected rather than reaching backend APIs.","bundleMeta":"Read-only origin-lock verification, MIT license","safetyNote":"Run only against your own authorized staging origins.","commands":"# Replace 192.0.2.50 and stg-api.example.com with your own staging origin IP and Host header\nSTATUS=$(curl -s -o /dev/null -w \"%{http_code}\" --max-time 5 \\\n  -H \"Host: stg-api.example.com\" \"https://192.0.2.50/\" -k || echo \"BLOCKED\")\necho \"Direct-to-origin result: $STATUS (expected BLOCKED or 403)\""},"iocs":[{"type":"url","value":"https://www.rakuten-sec.co.jp/web/company/newsrelease/pdf/press2026120401.pdf","context":"Official Rakuten Securities December 4 third report PDF detailing the Oct 27 WAF bypass, third-party staging API SQLi implant, Nov 8 internal pivot, and skipped exception approval."},{"type":"url","value":"https://www.rakuten-sec.co.jp/web/info/info20261204-02.html","context":"Official Rakuten Securities December 4 web notice mirroring the third report."},{"type":"url","value":"https://www.rakuten-sec.co.jp/web/info/info20261124-04.html","context":"Official Rakuten Securities November 24 second report confirming ~4.41M personal-data records, ~1.68M asset-balance records, and ~11.98M login-ID-only records."}],"publishedAt":"2026-12-05T09:05:00Z","origin":"editorial"}}