November 23, 2026
An educational bug bounty case study in client flow analysis and downstream authorization testing
Status: Triaged as High severity. Validation date: November 22, 2026. Confirmed impact: Unauthorized STS token issuance and downstream…
By redhunter01
11 min read
An educational bug bounty case study in client flow analysis and downstream authorization testing
Status: Triaged as High severity. Validation date: November 22, 2026. Confirmed impact: Unauthorized STS token issuance and downstream entitlement grants. Playback: Not established.
The finding
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.
The decisive result came from a separate rights API. With a guest token, the API returned three channels and zero rights. With the improperly issued TVE token, the same request returned three rights containing {"q":"ReachHD"}. The token therefore changed a real server authorization decision; its effect was not limited to a label in the browser.
The report was triaged as High. The demonstrated vulnerability was an unauthenticated entitlement authorization bypass affecting the OTT stack used by the NBA TVE client. Actual video playback remained unverified.
This case teaches a useful investigation method: trace how entitlement claims enter an application, identify where those claims become a trusted credential, and compare how a downstream service treats that credential against an unentitled baseline.
1 Understanding the components
The application crossed several services, each with a different responsibility.
ComponentRole in this investigationTVETV Everywhere, the flow for access associated with a television provider subscription.MVPDThe television provider identity. Tested request values included Comcast_SSO and ATTOTT.Adobe PassThe upstream provider authentication and authorization integration referenced by the client.ResourceIdsResource or package identifiers submitted to the exchange, including NBATV and NBALP3.STSThe security token service issuing the OTT access token.Rights APIA downstream service used to determine what access the issued token received.DRMThe later license and content protection stage, where successful playback was not demonstrated.
An authentication result answers who has authenticated. An authorization result answers whether that identity may access a particular resource. The token exchange must preserve that distinction when converting 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 relevant background for understanding the missing trust check here; it does not establish which Adobe API version this deployment used.
2 Reconstructing the client flow
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:
- Complete the Adobe Pass provider session flow through the
api-huborapi-hub-uatintegration and/ew/tve/session, followed by preauthorization. - Read the provider identity, user identifier, and resource decisions from the resulting client profile.
- Submit those values to
/S1/sts/v1/oauth/tvesignin. - Store the returned
AccessTokenastveStsToken. - Use downstream play options to determine entitlement. In chunk
46073, the relevant client condition wasPlayActions.length > 0.
The field relationships were the useful part of the source review:
Client value or settingSecurity relevanceprofile.provider.mvpdThe provider identity passed to the exchange.profile.userIdThe user identifier submitted with the request.Resource decisions used to populate ResourceIdsThe packages the caller asked the service to recognize.MEDIA_KIND_HOSTThe backend destination receiving those claims.tveStsTokenThe credential consumed after the exchange.PlayActions.length > 0The client's rule for treating returned play options as entitled.
This gave me a concrete question: What proves to the token service that the caller actually completed the provider flow and was authorized 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; the HTTP responses supplied the evidence.
There is also an important distinction within Adobe's terminology. Preauthorization 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.
3 Testing the token issuance boundary
The issuance test supplied the request structure expected by the client while omitting provider authentication and authorization proof.
The captured 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.
The following is the relevant request excerpt, with incidental headers omitted:
POST /S1/sts/v1/oauth/tvesignin HTTP/1.1
Host: ottapp-appgw-client.nba.com
Origin: https://www-ng.nba.com
Content-Type: application/json
{
"TveProvider": "adobe",
"Mvpd": "Comcast_SSO",
"RequestorId": "NBADE",
"UserId": "unauth-hunter-poc",
"ResourceIds": ["NBATV", "NBALP3"],
"TenantId": "default",
"DeviceType": "Web",
"deviceId": "poc-t"
}POST /S1/sts/v1/oauth/tvesignin HTTP/1.1
Host: ottapp-appgw-client.nba.com
Origin: https://www-ng.nba.com
Content-Type: application/json
{
"TveProvider": "adobe",
"Mvpd": "Comcast_SSO",
"RequestorId": "NBADE",
"UserId": "unauth-hunter-poc",
"ResourceIds": ["NBATV", "NBALP3"],
"TenantId": "default",
"DeviceType": "Web",
"deviceId": "poc-t"
}The service returned 201 Created. The response excerpt below redacts the access token and the precise expiration time:
HTTP/1.1 201 Created
{
"AccessToken": "<REDACTED>",
"TokenIdentifier": "comcast_sso-lp3-nbatv",
"ExpiryTime": "<timestamp on 2026-11-29>"
}HTTP/1.1 201 Created
{
"AccessToken": "<REDACTED>",
"TokenIdentifier": "comcast_sso-lp3-nbatv",
"ExpiryTime": "<timestamp on 2026-11-29>"
}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.
Here, entitlement forgery 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.
At this point, issuance was established. Meaningful access still needed a separate check. A success status and a convincing identifier could represent an inert token, a guest credential, or metadata with no effect on authorization.
4 Using negative controls to understand the gap
The endpoint did not accept every input. Several small variations produced errors:
Submitted inputObserved resultComcast_SSO with NBATV and NBALP3201, identifier comcast_sso-lp3-nbatvATTOTT with NBATV, NBALP3, and TWCSPORTSNET201, identifier attott-lp3-nbatv-twcsportsnetEmpty UserId400Empty ResourceIds401, User is not ProvisionedTveProvider set to opin401, User is not ProvisionedMissing Mvpd400
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, recognizing 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.
5 Proving that a downstream service trusted the token
The strongest validation compared two tokens against the same rights request:
- A guest token representing an unentitled baseline.
- 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:
/S1/subscriber/v2/rights/live/channel-map/S1/subscriber/v2/rights/live/channel-mapIts locationDetail query parameter contained the Base64 encoding of this JSON:
{"PostalCode":"10001","CountryCode":"US"}{"PostalCode":"10001","CountryCode":"US"}The service's observed authorization header syntax was:
Authorization: OAUTH2 access_token="<TOKEN_UNDER_TEST>"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:
ObservationGuest tokenIssued TVE tokenaccountIdguest_defaultcomcast_sso-lp3-nbatvChannels returned33Total rights03Returned right markerNone{"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 unauthorized 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 license, 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 behavior under equivalent conditions. Inspecting only the token response would have left the report at a weaker proof boundary.
6 Interpreting the live game evidence
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:
/S1/subscriber/v2/events/<LIVE_GAME_ID>/play-options/S1/subscriber/v2/events/<LIVE_GAME_ID>/play-optionsThe query parameters were:
ParameterValueIsexternalIdtruelocationDetailThe same encoded location input used for the comparison.includeCRORestrictionFlagstrue
The original capture recorded:
ObservationGuest tokenIssued TVE tokenEntitlement state under the client rulefalsetrueNumber of play actions09Number of purchase actions8354
The guest response included a purchase offer with ExternalOfferId=NBAGP-<game>-US. The TVE response included a subscription play action with these reported fields:
ExternalOfferId = LP3
TransactionType = Subscription
TveResourceIds = [NBALP3]
ExpirationUtc = 9999-12-31ExternalOfferId = LP3
TransactionType = Subscription
TveResourceIds = [NBALP3]
ExpirationUtc = 9999-12-31The 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.
7 The boundary that remained unverified
The investigation established entitlement issuance and downstream rights acceptance. It did not establish successful premium video playback.
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 license and playback flow to avoid accessing paid content without entitlement.
The impact can be stated precisely:
Evidence levelSupported conclusionReproduced on November 22Unauthenticated token issuance and three downstream rights grants versus zero for a guest.Original live-game captureSubscription play actions and an entitled client state for the improperly issued token.Not establishedSuccessful DRM license issuance, content decryption, or watchable video.
This distinction strengthens the report because it tells the reader exactly where the evidence ends.
8 Explaining the 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. 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 honored the token. This behavior 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 behavior, 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 unauthorized 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.
9 Why the confirmed impact matters
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 unauthorized 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.
10 Remediation at the trust boundary
The primary fix belongs at the STS exchange. Before issuing an entitlement-bearing token, the backend must verify authoritative evidence that the caller is authorized 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 preauthorization result is insufficient. Adobe's documentation explicitly distinguishes informational preauthorization 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 defense in depth, the license 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 license.
The appropriate lifetime, reauthorization, 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 authorized case. It should verify that absent or mismatched proof cannot produce downstream rights, while a legitimately entitled subscriber still receives only their authorized 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.
11 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 hostObserved responsecore-api.nba.com/cp/api/v1.9/tvesignin403 at Akamaiidentity.nba.com/api/v1/tvesignin404Corresponding route on www-ng302 redirect to corp-devCorresponding route on watch-ng405
These were historical observations, not an exhaustive inventory or a guarantee about current behavior. 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.
12 A methodology other researchers can reuse
For another explicitly authorized assessment, the useful pattern is a sequence of evidence-building questions:
- Map the legitimate flow. Identify who authenticates the user, who authorizes resources, who issues credentials, and who consumes them.
- Trace security-sensitive values. Follow provider identities, package lists, roles, or permissions from their source to the credential issuer.
- Locate the required proof. Determine what the server verifies before turning client input into trusted privileges.
- Separate issuance from impact. A returned token establishes issuance. A meaningful downstream decision establishes what that token can do.
- Use a comparable baseline. Keep the resource, request options, location, and relevant lifecycle state aligned when comparing credentials.
- Use narrow negative controls. Distinguish required-field checks and supported-value checks from verification of the caller's right to claim those values.
- Preserve changing conditions. Record live-event state and timestamps so later differences can be interpreted correctly.
- 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 unauthorized 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/:
ArtifactRecorded purposetve_mint.headersThe token exchange response status, including HTTP 201.tve_mint.bodyThe issued token response and provider/package identifier.channelmap_guest.bodyThe guest baseline with zero rights.channelmap_tve.bodyThe 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.