Skip to content
Access control Write-up Intermediate

An educational bug bounty case study in client flow analysis and downstream authorization testing

The token exchange endpoint accepted television provider and package identifiers from the caller without verifying Adobe Pass proof, issuing an access token. A downstream rights API then granted three rights to this token, whereas a guest token received zero rights.

redhunter01 Follow

Published on medium.com

While examining the NBA TV Everywhere flow, I identified a token exchange that accepted television provider and package identifiers directly from the caller. The service issued an access token without requiring the Adobe Pass proof that should have justified those entitlements.

redhunter01, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 14 min read.

Context

NBA TV Everywhere (TVE) is the flow that ties access to NBA content to a television provider subscription. In this application the flow crosses several services, each with a distinct responsibility:

Component Role in this investigation
TVE TV Everywhere, the flow for access associated with a television provider subscription.
MVPD The television provider identity. Tested request values included Comcast_SSO and ATTOTT.
Adobe Pass The upstream provider authentication and authorization integration referenced by the client.
ResourceIds Resource or package identifiers submitted to the exchange, including NBATV and NBALP3.
STS The security token service issuing the OTT access token.
Rights API A downstream service used to determine what access the issued token received.
DRM The later licence and content protection stage, where successful playback was not demonstrated.

The distinction that matters throughout is between authentication and authorization. An authentication result answers who has authenticated. An authorization result answers whether that identity may access a particular resource. The token exchange has to preserve that distinction when it converts provider information into privileges understood by another service.

Adobe documents a resource authorization flow that returns a signed media token after an affirmative decision, with verification on the streaming application's backend. That is background for understanding the missing trust check here; it does not establish which Adobe API version this deployment used.

The finding was triaged as High severity, with validation on November 22, 2026, and a confirmed impact of unauthorised STS token issuance and downstream entitlement grants. Playback was not established.

Setup

The investigation began with client-side source analysis of the TVE application at www-ng.nba.com/tve. The relevant bundle was _app-02633232f250f4b3.js.

The client referenced ottapp-appgw-client.nba.com through MEDIA_KIND_HOST. That reference connected the TVE page to the OTT token service and explained why the token exchange was relevant to the application under review.

The reported client flow was:

  1. Complete the Adobe Pass provider session flow through the api-hub or api-hub-uat integration and /ew/tve/session, followed by preauthorisation.
  2. Read the provider identity, user identifier, and resource decisions from the resulting client profile.
  3. Submit those values to /S1/sts/v1/oauth/tvesignin.
  4. Store the returned AccessToken as tveStsToken.
  5. Use downstream play options to determine entitlement. In chunk 46073, the relevant client condition was PlayActions.length > 0.

The captured issuance context used no cookies, a Chrome 124 user agent, and Origin: https://www-ng.nba.com. The mint request contained no Authorization header, Adobe media token, provider session cookie, or signed authorization assertion. The later rights requests did carry tokens; the unauthenticated step was the token issuance itself.

Finding it

The field relationships were the useful part of the source review:

Client value or setting Security relevance
profile.provider.mvpd The provider identity passed to the exchange.
profile.userId The user identifier submitted with the request.
Resource decisions used to populate ResourceIds The packages the caller asked the service to recognise.
MEDIA_KIND_HOST The backend destination receiving those claims.
tveStsToken The credential consumed after the exchange.
PlayActions.length > 0 The client's rule for treating returned play options as entitled.

That gave a concrete question: what proves to the token service that the caller actually completed the provider flow and was authorised for the submitted packages?

Browser execution order cannot answer that question. A normal client may call an endpoint only after login, while a separate HTTP client can call the same endpoint directly. The server must enforce the prerequisite itself. This was analysis of browser-delivered code, not access to the server implementation: the code suggested a hypothesis about the trust boundary, and the HTTP responses supplied the evidence.

There is also a terminology trap inside Adobe's own documentation. Preauthorisation supports interface hints and content filtering. Adobe's JavaScript SDK documentation says an actual authorization request is still required before allowing access to a resource. A resource list in a browser profile is therefore not sufficient proof of permission.

Exploitation

Step 1: mint a token without provider proof

The issuance test supplied the request structure expected by the client while omitting provider authentication and authorization proof. The following is the relevant request excerpt, with incidental headers omitted:

HTTP
POST /S1/sts/v1/oauth/tvesignin HTTP/1.1Host: ottapp-appgw-client.nba.comOrigin: https://www-ng.nba.comContent-Type: application/json
JSON
{  "TveProvider": "adobe",  "Mvpd": "Comcast_SSO",  "RequestorId": "NBADE",  "UserId": "unauth-hunter-poc",  "ResourceIds": ["NBATV", "NBALP3"],  "TenantId": "default",  "DeviceType": "Web",  "deviceId": "poc-t"}

The body carries the provider (Mvpd), the requestor, an arbitrary UserId, and the package list in ResourceIds. Nothing in the request ties those claims to a completed Adobe Pass session.

The service returned 201 Created. The response excerpt below redacts the access token and the precise expiration time:

HTTP
HTTP/1.1 201 Created

The advertised expiration was approximately seven days after issuance. That is a statement about the returned expiry, not a claim that the token was tested continuously for seven days. The TokenIdentifier reflected the provider and package selection.

A second tested combination, ATTOTT with NBATV, NBALP3, and TWCSPORTSNET, also returned 201, with the identifier attott-lp3-nbatv-twcsportsnet.

Entitlement forgery here means obtaining a token based on unsupported entitlement claims. The service itself issued the token. The evidence does not involve changing a signed token, breaking a signature, recovering a signing key, or assuming the token is a JWT.

Issuance alone was not enough. A success status and a convincing identifier could represent an inert token, a guest credential, or metadata with no effect on authorization.

Step 2: negative controls on the mint endpoint

The endpoint did not accept every input. Several small variations produced errors:

Submitted input Observed result
Comcast_SSO with NBATV and NBALP3 201, identifier comcast_sso-lp3-nbatv
ATTOTT with NBATV, NBALP3, and TWCSPORTSNET 201, identifier attott-lp3-nbatv-twcsportsnet
Empty UserId 400
Empty ResourceIds 401, User is not Provisioned
TveProvider set to opin 401, User is not Provisioned
Missing Mvpd 400

These controls made the conclusion more specific. Certain required or unsupported inputs were rejected, but accepted provider/package claims did not need the Adobe proof that would establish the caller's entitlement.

A required field is not necessarily a verified field. Requiring a nonempty UserId, for example, does not establish that the identifier belongs to an authenticated subscriber. Similarly, recognising a package name does not establish that the caller owns that package.

The observations support the tested combinations. They do not establish that every provider, every arbitrary resource string, or every possible provider/package pairing would be accepted. The second successful test changed both the provider and package set, so it was not an isolated experiment for every individual field.

Step 3: prove that a downstream service trusts the token

The strongest validation compared two tokens against the same rights request: a guest token representing an unentitled baseline, and the TVE token issued from the unsupported provider/package claims. The host, endpoint, and location input remained the same; the authorization token was the relevant changed input.

The GET request used this path:

Text
/S1/subscriber/v2/rights/live/channel-map

Its locationDetail query parameter contained the Base64 encoding of this JSON:

JSON
{"PostalCode":"10001","CountryCode":"US"}

The service's observed authorization header syntax was:

HTTP
Authorization: OAUTH2 access_token="<TOKEN_UNDER_TEST>"

Keeping the location value constant helped isolate the token's effect. This was not evidence of a geographic restriction bypass.

The November 22 validation produced:

Observation Guest token Issued TVE token
accountId guest_default comcast_sso-lp3-nbatv
Channels returned 3 3
Total rights 0 3
Returned right marker None {"q":"ReachHD"} on the three grants

The channel count is instructive. Both callers could receive channel metadata, so a list of channels alone would not demonstrate unauthorised privileges. The meaningful difference was the rights attached to those channels.

This established the chain from unauthenticated issuance to downstream acceptance: a token obtained without provider proof received rights the guest baseline did not receive. ReachHD is the exact returned marker. It supports the observed entitlement difference without establishing a successful manifest fetch, a DRM licence, or rendered video. Those would be separate consequences requiring separate evidence.

The reusable method is to identify a downstream decision that consumes the token and compare its behaviour under equivalent conditions. Inspecting only the token response would have left the report at a weaker proof boundary.

Step 4: the live-game play-options comparison

The original hunt also captured an event-specific comparison at 18:06 Eastern Time, while a game was in progress. This was a separate evidence layer from the November 22 channel-map validation.

The GET request targeted:

Text
/S1/subscriber/v2/events/<LIVE_GAME_ID>/play-options

The query parameters were:

Parameter Value
IsexternalId true
locationDetail The same encoded location input used for the comparison.
includeCRORestrictionFlags true

The original capture recorded:

Observation Guest token Issued TVE token
Entitlement state under the client rule false true
Number of play actions 0 9
Number of purchase actions 83 54

The guest response included a purchase offer with ExternalOfferId=NBAGP-<game>-US. The TVE response included a subscription play action with these reported fields:

Text
ExternalOfferId = LP3TransactionType = SubscriptionTveResourceIds = [NBALP3]ExpirationUtc = 9999-12-31

The client used PlayActions.length > 0 to derive isEntitled. The table describes that entitlement state; it should not be read as a claim that every API response contained a literal isEntitled property.

The remaining purchase actions also matter: the observed result added subscription play options without eliminating every purchase option. The counts do not demonstrate universal access to every offer or product.

The year-9999 value appeared in play-action metadata. It does not establish a perpetual STS token or a lifetime subscription. The issued token had its own separately reported expiration.

This event-specific comparison was not reproduced in the later validation pass. At that time, the relevant games were final, and the report recorded no live-event play or purchase actions to compare. Repeating this particular observation would require a suitable active event and equivalent conditions; a future successful reproduction cannot be assumed.

Time is therefore part of the test fixture. For event-driven applications, preserve the event identifier, lifecycle state, capture time, location input, and credential context. A final game and an in-progress game are not interchangeable authorization tests.

Step 5: the boundary that stayed unverified

During the original hunt, the DRM-related /S1/kss/signkey request returned 400 with Null or empty public key for both token cases. The request lacked the player CDM public key required at that stage. CDM means content decryption module.

That response leaves the later authorization decision unresolved. A request that fails an input prerequisite does not reveal whether a correctly formed request would pass or fail the entitlement check. Consequently, the evidence establishes neither successful DRM bypass nor effective DRM protection against this particular entitlement bypass. Testing stopped before completing the licence and playback flow to avoid accessing paid content without entitlement.

The impact can be stated precisely:

Evidence level Supported conclusion
Reproduced on November 22 Unauthenticated token issuance and three downstream rights grants versus zero for a guest.
Original live-game capture Subscription play actions and an entitled client state for the improperly issued token.
Not established Successful DRM licence issuance, content decryption, or watchable video.

Root cause

The observable failure occurred where caller-controlled provider and resource values became a credential trusted by another service. The STS service had authority to issue tokens, and a caller could obtain that authority's output using entitlement claims that were not backed by the expected upstream proof. The downstream rights service then honoured the token. This behaviour is consistent with a confused-deputy problem at the exchange boundary.

The fundamental error was treating an asserted entitlement as an established entitlement. Client-side code supplied context for how legitimate values were normally obtained, but it could not make an unauthenticated caller's values trustworthy.

That mechanism fits CWE-807, Reliance on Untrusted Inputs in a Security Decision. The absent authorization gate is also consistent with CWE-862, Missing Authorization. These are explanatory mappings of the observed behaviour, not a claim about classifications assigned by the program.

The distinction between token integrity and justified issuance is central. Even if a downstream service verifies a token's integrity correctly, the service may still grant unauthorised privileges when the issuer accepted unverified claims. Rechecking the same token's signature would not establish the missing provider authorization.

The accepted UserId also needs careful interpretation. The demonstrated downstream account identifier reflected provider/package values. No takeover of an existing subscriber account was established, and the opaque token did not reveal enough to conclude how the submitted user identifier was stored internally.

Impact

The High severity outcome rests on an authorization boundary that could be crossed without provider credentials. The caller obtained an OTT token with an advertised seven-day lifetime, and a separate production rights endpoint granted privileges unavailable to the guest baseline.

The live-game capture supplied additional evidence that the resulting authorization state could include an LP3 subscription play action. The TWCSPORTSNET identifier was accepted in a separate mint combination, but the evidence did not isolate a downstream grant attributable specifically to that regional package.

The confirmed business impact was unauthorised premium entitlement issuance and recognition. Financial loss, the number of affected subscribers, unrestricted access to all packages, and successful consumption of paid video were not measured.

A report does not need to cross every subsequent boundary to describe a real authorization failure. It does need to keep each claimed consequence tied to the request and response that demonstrate it.

Fix

The primary fix belongs at the STS exchange. Before issuing an entitlement-bearing token, the backend must verify authoritative evidence that the caller is authorised for the resources being granted.

Verify authorization on the backend

Require the appropriate Adobe Pass media token or equivalent server-verifiable authorization result for the integration. Validate it through the supported mechanism, including authenticity, validity, and resource binding. Adobe recommends backend verification with its Media Token Verifier and warns against manually parsing the token as a substitute for verification.

The implementation should also enforce the relevant requestor, subject or session, and provider bindings using the authoritative data available in that integration. These relationships need not all be encoded in one token, but they must be established by trusted evidence.

Derive issued privileges from verified permissions

Treat the submitted Mvpd and ResourceIds as untrusted requests. Derive the effective provider and allowed resources from verified data, or reject any mismatch between the requested and verified values.

For multiple requested packages, every issued privilege needs corresponding authorization. Proof for one resource must not authorize an additional resource simply because both appear in the same JSON array.

The intended invariant is simple: the issued resource set must be a subset of the verified authorized resource set.

An ordinary account login alone would not establish ownership of the claimed television packages. The missing control is resource authorization, with the necessary identity and session bindings.

Preserve the distinction between preauthorization and authorization

A client-supplied profile or preauthorisation result is insufficient. Adobe's documentation explicitly distinguishes informational preauthorisation from the authorization needed for playback. The backend must verify the authoritative decision appropriate to the privilege it is issuing.

Validate at the later content access boundary

As defence in depth, the licence or playback authorization service should validate access against authoritative entitlement information, including relevant resource and session restrictions. It should not let improperly issued STS claims become the only basis for a licence.

The appropriate lifetime, reauthorisation, revocation, and replay controls should follow the upstream authorization semantics. Shortening the STS lifetime alone would reduce exposure without repairing the missing proof requirement.

Verify the repair with meaningful controls

A regression review should cover missing proof, invalid proof, expired proof, mismatched resources, and a valid authorised case. It should verify that absent or mismatched proof cannot produce downstream rights, while a legitimately entitled subscriber still receives only their authorised resources.

The downstream comparison matters after remediation for the same reason it mattered during discovery: it confirms the actual authorization outcome, rather than only a changed response at the mint endpoint.

Variants to test

Scope and related endpoint observations

The original submission recorded a scope complication. The live mint host, ottapp-appgw-client.nba.com, was not on the program's exact hostname allowlist. The in-scope www-ng.nba.com/tve client referenced it as its OTT backend. That relationship explained architectural relevance; it did not automatically expand the allowlist. The report was submitted for program adjudication and has since been reported as triaged High; this write-up does not infer additional hostname permissions from that status.

The original investigation also recorded responses from related routes:

Recorded route or host Observed response
core-api.nba.com/cp/api/v1.9/tvesignin 403 at Akamai
identity.nba.com/api/v1/tvesignin 404
Corresponding route on www-ng 302 redirect to corp-dev
Corresponding route on watch-ng 405

These were historical observations, not an exhaustive inventory or a guarantee about current behaviour. They did not establish alternate vulnerable exchanges. Any owner-led review of related STS routes should examine the same authorization invariant, and monitoring can correlate issued provider/package grants with authoritative authorization events.

A reusable methodology

For another explicitly authorised assessment, the useful pattern is a sequence of evidence-building questions:

  1. Map the legitimate flow. Identify who authenticates the user, who authorises resources, who issues credentials, and who consumes them.
  2. Trace security-sensitive values. Follow provider identities, package lists, roles, or permissions from their source to the credential issuer.
  3. Locate the required proof. Determine what the server verifies before turning client input into trusted privileges.
  4. Separate issuance from impact. A returned token establishes issuance. A meaningful downstream decision establishes what that token can do.
  5. Use a comparable baseline. Keep the resource, request options, location, and relevant lifecycle state aligned when comparing credentials.
  6. Use narrow negative controls. Distinguish required-field checks and supported-value checks from verification of the caller's right to claim those values.
  7. Preserve changing conditions. Record live-event state and timestamps so later differences can be interpreted correctly.
  8. State the last proven boundary. Keep entitlement, licensing, and actual content access as separate claims supported by separate evidence.

The central lesson is that a service-issued credential can carry unauthorised privileges when the issuer accepts unverified claims. Following those claims across the exchange, then demonstrating how another service uses them, turned a suspicious request into a substantiated authorization finding.

Evidence retained with the report

The report records these capture artifacts under targets/nba_com/evidence/tve_sts_forge/:

Artifact Recorded purpose
tve_mint.headers The token exchange response status, including HTTP 201.
tve_mint.body The issued token response and provider/package identifier.
channelmap_guest.body The guest baseline with zero rights.
channelmap_tve.body The TVE token result with three ReachHD grants.

The live-event comparison belongs to the original time-windowed hunt capture. Tokens remain redacted in this write-up.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 22 min read.

What happened, in plain words

Imagine a members-only gym. At the door there is a receptionist who checks your membership card and then prints you a day pass. The day pass is what the machines and the classes actually look at. If the receptionist prints a day pass for anyone who simply says "I'm a member", without checking the membership card, then the machines will happily let that person in. The machines are doing their job correctly: they trust the pass. The problem is that the pass was handed out without proof.

That is roughly what this report describes, on a website that streams NBA basketball. The site has a service that hands out a digital pass (called a token) to people who claim to have a paid television subscription. The researcher found that this service handed out the pass without checking the proof that should have come from the television provider. Then a second service, which decides what you are allowed to watch, accepted that pass and granted real viewing rights that a logged-out visitor did not get.

The report was triaged as High severity, with validation on November 22, 2026. The confirmed impact was unauthorised token issuance and downstream entitlement grants. Actual video playback was not established.

This is an educational case study. It walks through how the researcher found the problem, how they proved it was real, and where the evidence stops. Below, every technical idea is explained from scratch, and every request is shown exactly as it appeared, with a plain-language walkthrough after each one.

The pieces of the puzzle

The application is not one program. It is a chain of services, each doing one job. Think of an airport: check-in, security, passport control and the gate are separate desks, and each one trusts a document the previous desk gave you.

Component What it is, in plain words
TVE "TV Everywhere". The feature that lets you watch NBA content online because you already pay for a television subscription.
MVPD "Multichannel Video Programming Distributor". The television provider, for example a cable company. The report tested values Comcast_SSO and ATTOTT.
Adobe Pass A third-party service that television providers use to confirm that a viewer really is their customer. The client code refers to it.
ResourceIds The names of the packages being requested, such as NBATV and NBALP3. Think of them as the names of the channels or bundles you are asking for.
STS "Security Token Service". The desk that prints the digital pass.
Rights API A later service that reads the pass and decides what content you may access.
DRM "Digital Rights Management". The technology that encrypts video and hands out decryption keys only to authorised players. This is the last gate before a video actually plays.

Two words appear constantly and are easy to mix up:

  • Authentication answers who are you? Logging in with a username and password is authentication.
  • Authorisation answers what are you allowed to do? Being logged in does not mean you are allowed to watch a premium channel.

The whole bug lives in the gap between those two questions. The system was good at the first and weak at the second.

Adobe documents a flow where, after a positive decision, a signed media token is returned and the streaming application's backend verifies it. That is useful background for understanding what check was missing here. It does not tell us which version of Adobe's API this particular deployment used.

Step 0: reading the website's own code

Before sending anything, the researcher read the JavaScript that the website sends to every visitor's browser. JavaScript is the programming language browsers run; it is delivered as files, and anyone can open the browser's developer tools and read them. This is not hacking in the sense of breaking in. It is reading what the site already hands you.

The TVE page was at www-ng.nba.com/tve, and the relevant file was _app-02633232f250f4b3.js. Inside it, the code referred to another host, ottapp-appgw-client.nba.com, through a setting called MEDIA_KIND_HOST. That reference is the thread that connects the page you see to the token service behind it.

The normal, intended sequence, as the client code describes it, was:

  1. The viewer completes the television provider login through the api-hub or api-hub-uat integration and /ew/tve/session, followed by preauthorisation.
  2. The page reads the provider identity, the user identifier, and the resource decisions from the resulting client profile.
  3. It sends those values to /S1/sts/v1/oauth/tvesignin.
  4. It stores the returned AccessToken under the name tveStsToken.
  5. It asks a later service for play options to decide whether the viewer is entitled. In a piece of the code labelled chunk 46073, the deciding condition was PlayActions.length > 0.

In plain words: log in with your TV provider, collect the details, trade them for a pass, keep the pass, and then ask "what can I play?". If the answer contains at least one play action, the page treats you as entitled.

Reading the code produced this table of interesting values:

Client value or setting Why it matters
profile.provider.mvpd The television provider name that gets sent to the pass desk.
profile.userId The user identifier sent along with the request.
Resource decisions used to populate ResourceIds The packages the caller is asking the service to recognise.
MEDIA_KIND_HOST The backend address that receives those claims.
tveStsToken The pass that gets used afterwards.
PlayActions.length > 0 The page's rule for calling you entitled.

That raised the key question: what does the pass desk actually check before it believes that the caller completed the provider login and is entitled to the packages they named?

Here is the subtle part. The order in which a browser does things proves nothing. A normal page might only call the pass endpoint after login, but anyone can use a separate tool to send the same request directly, skipping the page entirely. The server has to enforce the rule itself. The code only suggested a hypothesis; the server's replies were going to be the evidence.

There is also a terminology trap. Preauthorisation is a lightweight check that helps the interface show or hide things and filter content. Adobe's own JavaScript SDK documentation says a real authorisation request is still required before access to a resource is allowed. So a list of resources sitting in a browser profile is not proof of permission.

Step 1: asking for a pass without proof

Now the researcher sent the request the client would normally send, but without the provider login and without any proof of entitlement. The captured context used no cookies, a Chrome 124 user agent, and Origin: https://www-ng.nba.com. The request contained no Authorization header, no Adobe media token, no provider session cookie, and no signed authorisation assertion. The later rights requests did carry tokens; the unauthenticated step was the token issuance itself.

Here is the request, with incidental headers left out:

HTTP
POST /S1/sts/v1/oauth/tvesignin HTTP/1.1Host: ottapp-appgw-client.nba.comOrigin: https://www-ng.nba.comContent-Type: application/json

Line by line:

  • POST /S1/sts/v1/oauth/tvesignin HTTP/1.1 is the request line. POST means "I am sending data to create something". The path points at the token service's sign-in endpoint. HTTP/1.1 is the version of the web protocol being spoken.
  • Host: ottapp-appgw-client.nba.com says which server the request is for. One server can host many sites, so the host name matters.
  • Origin: https://www-ng.nba.com tells the server which site the request claims to come from. Browsers add this automatically; a script can set it too.
  • Content-Type: application/json says the body is formatted as JSON, a simple text format for structured data.

And here is the body:

JSON
{  "TveProvider": "adobe",  "Mvpd": "Comcast_SSO",  "RequestorId": "NBADE",  "UserId": "unauth-hunter-poc",  "ResourceIds": ["NBATV", "NBALP3"],  "TenantId": "default",  "DeviceType": "Web",  "deviceId": "poc-t"}

Line by line:

  • "TveProvider": "adobe" names the provider integration being used.
  • "Mvpd": "Comcast_SSO" claims the television provider is Comcast.
  • "RequestorId": "NBADE" identifies which application is asking.
  • "UserId": "unauth-hunter-poc" is a made-up user identifier. The researcher chose it; it does not belong to a real subscriber.
  • "ResourceIds": ["NBATV", "NBALP3"] asks for two packages by name. The square brackets mean a list.
  • "TenantId": "default", "DeviceType": "Web" and "deviceId": "poc-t" are housekeeping values describing the tenant, the kind of device, and a device identifier.

Nothing in that body ties the claims to a completed Adobe Pass session. It is a person saying "I'm a Comcast customer, give me these two packages" with no membership card.

The service answered 201 Created:

HTTP
HTTP/1.1 201 Created

201 is the standard status code for "I created a new resource for you". In this case the new resource is a token.

Line by line:

  • "AccessToken": "<REDACTED>" is the pass itself. It is redacted here because it is a secret: anyone holding it could use it.
  • "TokenIdentifier": "comcast_sso-lp3-nbatv" is a readable label that mirrors the provider and packages that were requested.
  • "ExpiryTime": "<timestamp on 2026-11-29>" is when the pass stops working. The exact time is redacted.

The advertised expiration was about seven days after issuance. That is a fact about the returned expiry, not a claim that the token was tested continuously for seven days.

A second combination was also tried: ATTOTT with NBATV, NBALP3, and TWCSPORTSNET. It also returned 201, with the identifier attott-lp3-nbatv-twcsportsnet.

A word on the phrase entitlement forgery used here. It means obtaining a token based on entitlement claims that are not supported by proof. The service itself issued the token. Nothing in the evidence involves editing a signed token, breaking a signature, recovering a signing key, or assuming the token is a JWT (a particular token format).

At this point, issuance was proven. But a success status and a convincing-looking label could still be an inert token, a guest credential, or metadata with no effect on authorisation. The next step was to find out.

Step 2: poking the edges to understand the checks

The endpoint did not accept everything. Small variations produced errors, and those errors are informative:

Submitted input Observed result
Comcast_SSO with NBATV and NBALP3 201, identifier comcast_sso-lp3-nbatv
ATTOTT with NBATV, NBALP3, and TWCSPORTSNET 201, identifier attott-lp3-nbatv-twcsportsnet
Empty UserId 400
Empty ResourceIds 401, User is not Provisioned
TveProvider set to opin 401, User is not Provisioned
Missing Mvpd 400

What the status codes mean: 400 is "Bad Request", the server saying the request is malformed or missing something it needs. 401 is "Unauthorised", the server saying the caller is not allowed.

These controls made the conclusion sharper. Some inputs were rejected because they were required or unsupported. But the accepted provider and package claims did not need the Adobe proof that would establish the caller's entitlement.

A required field is not necessarily a verified field. Requiring a non-empty UserId does not prove that the identifier belongs to an authenticated subscriber. Recognising a package name does not prove that the caller owns that package. Think of a form that insists you type a name: it checks that the box is filled, not that the name is yours.

The observations support the tested combinations. They do not prove that every provider, every arbitrary resource string, or every possible provider and package pairing would be accepted. The second successful test changed both the provider and the package set at once, so it was not a clean experiment for each individual field.

Step 3: proving that another service trusts the pass

A token that nobody uses is harmless. The strongest validation compared two tokens against the same request: a guest token, representing a visitor with no subscription, and the TVE token that had been issued from unsupported claims. The host, the endpoint and the location input stayed the same. The only meaningful change was the token.

The request was a GET, which means "give me this information" rather than "create something". The path was:

Text
/S1/subscriber/v2/rights/live/channel-map

This asks for a map of live channels and the rights attached to them.

One of its query parameters, locationDetail, contained the Base64 encoding of this JSON:

JSON
{"PostalCode":"10001","CountryCode":"US"}

Base64 is a way of turning text into a longer string of letters and digits so it can travel safely inside a URL. The JSON inside says the location is postal code 10001 in the United States. Keeping this value constant helped isolate the token's effect. This was not evidence of a geographic restriction bypass.

The service's observed authorisation header syntax was:

HTTP
Authorization: OAUTH2 access_token="<TOKEN_UNDER_TEST>"

Line by line:

  • Authorization: is the standard header where a caller presents credentials.
  • OAUTH2 names the scheme being used, so the server knows how to read the rest.
  • access_token="<TOKEN_UNDER_TEST>" is where the token goes. The placeholder marks the token being compared.

The November 22 validation produced:

Observation Guest token Issued TVE token
accountId guest_default comcast_sso-lp3-nbatv
Channels returned 3 3
Total rights 0 3
Returned right marker None {"q":"ReachHD"} on the three grants

The channel count is the instructive part. Both callers received channel metadata, so a list of channels alone would prove nothing. The meaningful difference was the rights attached to those channels: zero for the guest, three for the improperly issued token.

This established the chain from unauthenticated issuance to downstream acceptance: a token obtained without provider proof received rights the guest baseline did not receive. ReachHD is the exact marker that came back. It supports the observed entitlement difference. It does not establish a successful video stream fetch, a DRM licence, or rendered video; those would be separate consequences needing separate evidence.

The reusable method here is to find a later decision that consumes the token and compare its behaviour under equivalent conditions. Looking only at the token response would have left the report at a weaker proof boundary.

Step 4: the live-game comparison

The original hunt also captured a comparison at 18:06 Eastern Time, while a game was in progress. This was a separate layer of evidence from the November 22 channel-map validation.

The GET request targeted:

Text
/S1/subscriber/v2/events/<LIVE_GAME_ID>/play-options

<LIVE_GAME_ID> is a placeholder for the identifier of a particular game. "Play options" means the ways a viewer could start watching: a subscription play, a purchase, and so on.

The query parameters were:

Parameter Value
IsexternalId true
locationDetail The same encoded location input used for the comparison.
includeCRORestrictionFlags true

In plain words: tell the service that the identifier is an external one, use the same location as before, and include restriction flags in the answer.

The original capture recorded:

Observation Guest token Issued TVE token
Entitlement state under the client rule false true
Number of play actions 0 9
Number of purchase actions 83 54

The guest response included a purchase offer with ExternalOfferId=NBAGP-<game>-US. In other words, the guest was offered the chance to buy. The TVE response included a subscription play action with these reported fields:

Text
ExternalOfferId = LP3TransactionType = SubscriptionTveResourceIds = [NBALP3]ExpirationUtc = 9999-12-31

Line by line:

  • ExternalOfferId = LP3 is the identifier of the offer.
  • TransactionType = Subscription says this is a subscription play rather than a purchase.
  • TveResourceIds = [NBALP3] ties the play action to the NBALP3 package.
  • ExpirationUtc = 9999-12-31 is a date far in the future, in UTC time.

The client used PlayActions.length > 0 to derive isEntitled. The table describes that entitlement state. It should not be read as a claim that every API response contained a literal isEntitled property.

The remaining purchase actions also matter. The observed result added subscription play options without removing every purchase option. The counts do not demonstrate universal access to every offer or product.

The year-9999 value appeared in play-action metadata. It does not establish a perpetual STS token or a lifetime subscription. The issued token had its own separately reported expiration.

This event-specific comparison was not reproduced in the later validation pass. By then the relevant games were final, and the report recorded no live-event play or purchase actions to compare. Repeating this observation would require a suitable active event and equivalent conditions; a future successful reproduction cannot be assumed.

Time is therefore part of the test setup. For event-driven applications, preserve the event identifier, the lifecycle state, the capture time, the location input and the credential context. A finished game and a game in progress are not interchangeable authorisation tests.

Step 5: the boundary that stayed unverified

During the original hunt, the DRM-related /S1/kss/signkey request returned 400 with Null or empty public key for both token cases. The request lacked the player CDM public key required at that stage. CDM means content decryption module: the part of the player that holds the keys for decrypting video.

That response leaves the later authorisation decision unresolved. A request that fails an input prerequisite does not reveal whether a correctly formed request would pass or fail the entitlement check. It is like being turned away from a door because you forgot your keys, which tells you nothing about whether the lock would have opened.

So the evidence establishes neither a successful DRM bypass nor effective DRM protection against this particular entitlement bypass. Testing stopped before completing the licence and playback flow, to avoid accessing paid content without entitlement.

The impact can be stated precisely:

Evidence level Supported conclusion
Reproduced on November 22 Unauthenticated token issuance and three downstream rights grants versus zero for a guest.
Original live-game capture Subscription play actions and an entitled client state for the improperly issued token.
Not established Successful DRM licence issuance, content decryption, or watchable video.

This distinction strengthens the report, because it tells the reader exactly where the evidence ends.

Why it happened

The observable failure occurred where caller-controlled provider and resource values became a credential trusted by another service. The STS service had the authority to issue tokens, and a caller could obtain that authority's output using entitlement claims that were not backed by the expected upstream proof. The downstream rights service then honoured the token. This behaviour is consistent with a confused-deputy problem at the exchange boundary: a trusted employee (the token service) is tricked into using its authority on behalf of someone who should not have it.

The fundamental error was treating an asserted entitlement as an established entitlement. Client-side code supplied context for how legitimate values were normally obtained, but it could not make an unauthenticated caller's values trustworthy.

That mechanism fits CWE-807, Reliance on Untrusted Inputs in a Security Decision. The absent authorisation gate is also consistent with CWE-862, Missing Authorization. CWE is a public catalogue of weakness types. These are explanatory mappings of the observed behaviour, not a claim about classifications assigned by the program.

The distinction between token integrity and justified issuance is central. Even if a downstream service verifies a token's integrity correctly, it may still grant unauthorised privileges when the issuer accepted unverified claims. Rechecking the same token's signature would not establish the missing provider authorisation.

The accepted UserId also needs careful interpretation. The demonstrated downstream account identifier reflected provider and package values. No takeover of an existing subscriber account was established, and the opaque token did not reveal enough to conclude how the submitted user identifier was stored internally.

Why the confirmed impact matters

The High severity outcome rests on an authorisation boundary that could be crossed without provider credentials. The caller obtained an OTT token with an advertised seven-day lifetime, and a separate production rights endpoint granted privileges unavailable to the guest baseline.

The live-game capture supplied additional evidence that the resulting authorisation state could include an LP3 subscription play action. The TWCSPORTSNET identifier was accepted in a separate mint combination, but the evidence did not isolate a downstream grant attributable specifically to that regional package.

The confirmed business impact was unauthorised premium entitlement issuance and recognition. Financial loss, the number of affected subscribers, unrestricted access to all packages, and successful consumption of paid video were not measured.

A report does not need to cross every subsequent boundary to describe a real authorisation failure. It does need to keep each claimed consequence tied to the request and response that demonstrate it.

How to fix it

The primary fix belongs at the STS exchange. Before issuing an entitlement-bearing token, the backend must verify authoritative evidence that the caller is authorised for the resources being granted.

Verify authorisation on the backend

Require the appropriate Adobe Pass media token, or an equivalent server-verifiable authorisation result, for the integration. Validate it through the supported mechanism, including authenticity, validity and resource binding. Adobe recommends backend verification with its Media Token Verifier and warns against manually parsing the token as a substitute for verification.

The implementation should also enforce the relevant requestor, subject or session, and provider bindings using the authoritative data available in that integration. These relationships need not all be encoded in one token, but they must be established by trusted evidence.

Derive issued privileges from verified permissions

Treat the submitted Mvpd and ResourceIds as untrusted requests. Derive the effective provider and allowed resources from verified data, or reject any mismatch between the requested and verified values.

For multiple requested packages, every issued privilege needs corresponding authorisation. Proof for one resource must not authorise an additional resource simply because both appear in the same JSON array.

The intended invariant is simple: the issued resource set must be a subset of the verified authorised resource set. In plain words, you may only hand out passes for things the proof actually covers.

An ordinary account login alone would not establish ownership of the claimed television packages. The missing control is resource authorisation, with the necessary identity and session bindings.

Preserve the distinction between preauthorisation and authorisation

A client-supplied profile or preauthorisation result is insufficient. Adobe's documentation explicitly distinguishes informational preauthorisation from the authorisation needed for playback. The backend must verify the authoritative decision appropriate to the privilege it is issuing.

Validate at the later content access boundary

As defence in depth, the licence or playback authorisation service should validate access against authoritative entitlement information, including relevant resource and session restrictions. It should not let improperly issued STS claims become the only basis for a licence.

The appropriate lifetime, reauthorisation, revocation and replay controls should follow the upstream authorisation semantics. Shortening the STS lifetime alone would reduce exposure without repairing the missing proof requirement.

Verify the repair with meaningful controls

A regression review should cover missing proof, invalid proof, expired proof, mismatched resources, and a valid authorised case. It should verify that absent or mismatched proof cannot produce downstream rights, while a legitimately entitled subscriber still receives only their authorised resources.

The downstream comparison matters after remediation for the same reason it mattered during discovery: it confirms the actual authorisation outcome, rather than only a changed response at the mint endpoint.

Scope and related endpoints

The original submission recorded a scope complication. The live mint host, ottapp-appgw-client.nba.com, was not on the program's exact hostname allowlist. The in-scope www-ng.nba.com/tve client referenced it as its OTT backend. That relationship explained architectural relevance; it did not automatically expand the allowlist. The report was submitted for program adjudication and has since been reported as triaged High; this write-up does not infer additional hostname permissions from that status.

The original investigation also recorded responses from related routes:

Recorded route or host Observed response
core-api.nba.com/cp/api/v1.9/tvesignin 403 at Akamai
identity.nba.com/api/v1/tvesignin 404
Corresponding route on www-ng 302 redirect to corp-dev
Corresponding route on watch-ng 405

A quick guide to those codes: 403 means "forbidden", 404 means "not found", 302 means "temporarily moved, go here instead", and 405 means "method not allowed". Akamai is a content delivery network, a company that sits in front of websites and filters traffic.

These were historical observations, not an exhaustive inventory or a guarantee about current behaviour. They did not establish alternate vulnerable exchanges. Any owner-led review of related STS routes should examine the same authorisation invariant, and monitoring can correlate issued provider and package grants with authoritative authorisation events.

A method you can reuse

For another explicitly authorised assessment, the useful pattern is a sequence of evidence-building questions:

  1. Map the legitimate flow. Identify who authenticates the user, who authorises resources, who issues credentials, and who consumes them.
  2. Trace security-sensitive values. Follow provider identities, package lists, roles or permissions from their source to the credential issuer.
  3. Locate the required proof. Determine what the server verifies before turning client input into trusted privileges.
  4. Separate issuance from impact. A returned token establishes issuance. A meaningful downstream decision establishes what that token can do.
  5. Use a comparable baseline. Keep the resource, request options, location and relevant lifecycle state aligned when comparing credentials.
  6. Use narrow negative controls. Distinguish required-field checks and supported-value checks from verification of the caller's right to claim those values.
  7. Preserve changing conditions. Record live-event state and timestamps so later differences can be interpreted correctly.
  8. State the last proven boundary. Keep entitlement, licensing and actual content access as separate claims supported by separate evidence.

The central lesson is that a service-issued credential can carry unauthorised privileges when the issuer accepts unverified claims. Following those claims across the exchange, then demonstrating how another service uses them, turned a suspicious request into a substantiated authorisation finding.

Evidence kept with the report

The report records these capture artifacts under targets/nba_com/evidence/tve_sts_forge/:

Artifact Recorded purpose
tve_mint.headers The token exchange response status, including HTTP 201.
tve_mint.body The issued token response and provider/package identifier.
channelmap_guest.body The guest baseline with zero rights.
channelmap_tve.body The TVE token result with three ReachHD grants.

The live-event comparison belongs to the original time-windowed hunt capture. Tokens remain redacted in this write-up.

Glossary

  • API: An interface that lets one piece of software ask another for something, like a service counter with defined requests.
  • AccessToken: The digital pass a service issues so that later requests can be recognised.
  • Adobe Pass: A third-party service television providers use to confirm a viewer's subscription.
  • Authentication: Proving who you are, for example by logging in.
  • Authorisation: Deciding what an identified user is allowed to access.
  • Base64: An encoding that turns text into letters and digits so it can travel safely inside a URL.
  • CDM (content decryption module): The part of a video player that holds the keys for decrypting protected video.
  • Confused deputy: A trusted service tricked into using its authority on behalf of someone who should not have it.
  • Cookie: A small piece of data a browser stores and sends back to a site, often used to remember a login.
  • CWE-807: A catalogue entry for relying on untrusted inputs in a security decision.
  • CWE-862: A catalogue entry for missing authorisation.
  • DRM (Digital Rights Management): Technology that encrypts video and hands out decryption keys only to authorised players.
  • Entitlement: The right to access particular content or packages.
  • Entitlement forgery: Obtaining a token based on entitlement claims that are not backed by proof.
  • GET: An HTTP request that asks for information rather than creating something.
  • HTTP status code: A three-digit number in a response saying how the request went, such as 201, 400, 401, 403, 404, 405.
  • JavaScript: The programming language browsers run; sites deliver it as files anyone can read.
  • JSON: A simple text format for structured data, using curly braces and quotes.
  • JWT: A particular token format; the report does not assume the token here is one.
  • MVPD: A television provider, such as a cable company.
  • Negative control: A test expected to fail, used to show that a success elsewhere is meaningful.
  • Origin header: A header telling a server which site a request claims to come from.
  • OTT: "Over the top", video delivered over the internet rather than through a traditional television system.
  • POST: An HTTP request that sends data to create or change something.
  • Preauthorisation: A lightweight check that helps an interface show or hide content; it is not the same as full authorisation.
  • Query parameter: A value attached to the end of a URL after a question mark, used to pass options.
  • Rights API: A service that reads a token and decides what content the holder may access.
  • Scope: The set of systems a bug bounty program allows researchers to test.
  • STS (Security Token Service): The service that issues tokens.
  • Token: A credential a service issues so later requests can be recognised without repeating a login.
  • Triaged: Reviewed by the program and given a severity and status.
  • TVE (TV Everywhere): The feature that ties online access to a television subscription.
  • User agent: A header describing the browser or client making a request.
  • Vulnerability: A weakness in a system that can be used to make it behave in a way its owner did not intend.

More by redhunter01

View all

24 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.