Skip to content

Unrotated tokens from the Okta breach opened Cloudflare’s Atlassian server

Cloudflare rotated its credentials after the October 2023 Okta breach, but not one token and three service accounts it believed were unused. An attacker used them.2

No customer data affected, per Cloudflare. It rotated more than 5,000 production credentials.2

Get 30 minutes free every day, forever.3SOC 2 Type II499.9% uptime SLA on Pro4
CloudflareNovember 2023Recorded

1 of 50

Stopped Limited: the payment went out through the bank’s own system This case: Cloudflare. The gate records every use.

What happened

Credentials Cloudflare believed were unused opened its Atlassian server.

  1. October 2023. Attackers broke into Okta and took credentials belonging to Cloudflare.

  2. 14 November. The attacker used the unrotated credentials to reach Cloudflare’s Atlassian server, its wiki and some source code.

  3. 23 November. Cloudflare detected the attacker and later rotated more than 5,000 production credentials.2

How the gate handles it

With the sealed gate, the outside use would have shown in the audit.

The real tokens would have lived only in the gate, and any use outside it would have shown as a row with no receipt. Press Play to watch a use like it.5

A month of the service’s own log with one use of a token outside the gateSample6
  1. againstservice_log_2023-11.jsonRecordedwithout_receipt: 1

RecordedA token with no receipts stands out as unused.

How easy

Cloudflare could have audited every use of its Atlassian tokens in three steps.

Sample
Seal a keyatlassian
Atlassian service token
Paste your Atlassian token
Apps never see the token.
Atlassian rulesatlassian
Calls to Atlassian
Month-end auditAtlassian’s own log against the receipts
Every use through the gate gets a receipt.
Where approvals goAsk first
Slack
Microsoft Teams
Telegram
Email
A person approves or denies each call that asks first.

In code

Or in four lines of code.

The same three steps, from the terminal.

Sample
What each line does
1Seal the keysealedbox keys sealApps get sbk_live_2Wn5…d8.
2Set the rulessealedbox rules addMonth-end audit of Atlassian’s log.
3Connect approvalssealedbox approvals connectAsk-first calls go to #security.
Try it

Put the gate in front of your agent today.

Run three practice calls in five minutes, then check their records on your own computer. Test mode, on every plan.

Start free$ sealedbox try5-minute practice run8
Scope

What the gate doesn’t change, and three failures like this one.

Related cases
Answers10

Questions about this case and the gate.

Still have a question?Book a callAll questions
Would the gate have blocked the attacker’s calls?

No, because the attacker used the tokens outside the gate. The month-end audit shows each such use as a row with no receipt.

How does the audit spot a use made outside the gate?

At month end it matches the service’s own log against the gate’s receipts. Any use in the log without a receipt shows as its own row.

How would we know which tokens were really unused?

Every use through the gate leaves a record, so a token with no records stands out.

What does a receipt hold?

The agent, the key’s last four characters, a hash of the request (never the body), the rule and the decision. On Pro, Gate only and Custom it is signed.