# Trusted by Default: Qubole Cross-Account Access Abused in the Wild

Threat actor used Qubole's AWS account IAM credentials to assume customer integration roles via valid External IDs, enumerating and exfiltrating S3 data and secrets.

- Payout: Real-world hack
- Severity: high
- Program: Qubole
- Analysis by: Wiz Research
- Disclosed: 2026-11-09
- Write-up quality: 8/10
- Original: https://www.wiz.io/blog/qubole-cross-account-access-abused-in-the-wild
- Library page: https://bugbountylibrary.com/r/blog%3Awiz-io-blog-qubole-cross-account-access-abused-in-the-wild
- Tags: area:cloud domain:cloud impact:data-leak impact:internal-access kind:incident platform:threat-intel sev:high tech:aws technique:default-creds technique:recon vuln:access-control vuln:auth-bypass vuln:secrets-leak

**Target:** AWS cross-account IAM integration roles trusting Qubole account 805246085872
**Root cause:** Customers' integration roles trusted the vendor account root with only an External ID gate; the External ID is non-secret and logged in plaintext, so anyone holding vendor-account IAM credentials could assume every customer role.
**Steps:**
1. Obtain IAM credentials for users in vendor AWS account `805246085872` (e.g. `AIDA3W7DIFLYOLTK63SFS`).
2. Call `sts:AssumeRole` against customer integration role ARNs with the correct `sts:ExternalId` from a non-AWS IP (Mullvad/OVH).
3. Enumerate with session names like `quiam-enum`: `ListBuckets`, `ListObjects`, `GetDatabases`, `ListTables`, `DescribeClusters`, `DescribeInstances`, `DescribeImages`, `DescribeSecurityGroups`, `DescribeVpcs`, `DescribeDBInstances`, `DescribeDBSnapshots`, `ListRoles`, `ListKeys`, `ListAliases`, `DescribeKey`, `GetKeyPolicy`.
4. Harvest secrets: `ListFunctions`+`GetFunctionConfiguration` (Lambda env vars), `ListSecrets`+`GetSecretValue`, `DescribeParameters`+`GetParameter`.
5. Validate found creds with TruffleHog: AWS `GetCallerIdentity`, Entra ID service principal sign-in, Okta OAuth token request.
6. Exfiltrate: `ListBuckets` -> `ListObjects`/`HeadObject` -> `GetObject`, sometimes downloading entire buckets.
**How found:** Sentra detected suspicious cross-account activity across several customer environments and recognized it as a broad supply-chain pattern; Wiz correlated CloudTrail AssumeRole events to the Qubole vendor account and non-AWS source IPs.
**Exploitation:** Actor assumed customer roles from the vendor account using valid External IDs, then opportunistically enumerated and downloaded whatever S3 buckets each role could reach, plus Lambda env vars, Secrets Manager and SSM parameters; discovered credentials were validated in bursts via TruffleHog against AWS, Entra ID and Okta.
**Escalation:** Harvested in-environment credentials (IAM keys, Entra client secrets, Okta client creds) were validated to pivot into additional accounts and identity providers.
**Insight:** Vendor integration roles that trust an account root with only an External ID are effectively shared credentials: hunt CloudTrail for AssumeRole from a vendor account where sourceIPAddress is not the vendor's documented cloud ranges, and check for TruffleHog user agents on GetCallerIdentity.

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

**Cross-account trust policy with External ID**

```
{

  "Effect": "Allow",

  "Principal": { "AWS": "arn:aws:iam::<vendor-account-id>:root" },

  "Action": "sts:AssumeRole",

  "Condition": { "StringEquals": { "sts:ExternalId": "<external-id>" } }

}
```

**AssumeRole calls from vendor account via VPN**

```
an IP address belonging to Mullvad VPN (45.83.220[.]211) called AssumeRole against integration roles in customer environments. The calls originated from AWS account 805246085872, which we observe Qubole's platform using to assume roles in customer environments, and used the IAM user AIDA3W7DIFLYOLTK63SFS. Across the affected environments, Wiz CIRT has not observed this IAM user in any activity other than that associated with this threat actor.
From October 15, most of the activity came from a VPS hosted by OVH (57.129.54[.]120). On October 18, the threat actor began using a second IAM user from the same account, AIDAJYRRH5Y3A7AAJM2HW, which also carries legitimate Qubole platform traffic from AWS infrastructure. The same day, a second Mullvad address (185.209.199[.]73) assumed integration roles across multiple victim environments in quick succession. Every AssumeRole request we attributed to the threat actor included an External ID, and every one succeeded.
```

**S3 exfiltration call sequence**

```
assume a role, call ListBuckets to see what the role could reach, call ListObjects and HeadObject to enumerate and inspect the contents, then call GetObject to download them.
```

