Skip to content

Write-ups

AWS

Every publicly disclosed report for AWS and what kind of bugs they were.

disclosed reports
38
most reported class
Access control
bug classes found
12

Disclosed reports

Newest first. Only what AWS chose to make public.

Info disclosure

Using an Undocumented Amplify API to Leak AWS Account IDs

An undocumented internal AWS Amplify API accepted a CloudFront domain and returned the associated AWS account ID, allowing cross-tenant lookup of account IDs for any Amplify app. An attacker could use this to gather account IDs for phishing or reconnaissance.

AWS

Info disclosure

AWS CloudTrail vulnerability: Undocumented API allows CloudTrail bypass

An undocumented AWS API service called iamadmin allowed IAM API calls to be made without generating CloudTrail logs. An attacker with a foothold could perform reconnaissance on IAM resources without leaving a trace in CloudTrail or triggering GuardDuty alerts.

AWS

Info disclosure

Bypassing CloudTrail in AWS Service Catalog, and Other Logging Research

AWS Service Catalog had an undocumented gamma endpoint that allowed read and write API actions without generating CloudTrail logs, and AWS Control Tower's Blackbeard service failed to log failed API calls. An attacker with compromised credentials could use these gaps to modify resources or enumerate permissions without being recorded in CloudTrail.

AWS

Crypto

Advisory: security issues in AWS KMS and AWS Encryption SDKs

The AWS KMS ciphertext format and the AWS Encryption SDKs allowed an attacker to replace the key identifier in a ciphertext with their own, causing the victim's decryption attempt to log sensitive information (account ID, IP address, user agent, encryption context) to the attacker's account. Additionally, the SDKs were not robust: a single ciphertext could decrypt to different plaintexts for different recipients.

AWS

Access control

The Hunt for ALBeast: A Technical Walkthrough

A configuration-based vulnerability in applications using AWS ALB authentication allows attackers to forge JWT tokens with arbitrary identities and issuers, bypassing authentication if the application does not validate the token's signer or issuer and is directly accessible. Attackers can then access affected applications without legitimate credentials.

AWS

Misconfiguration

Bucket Monopoly: Breaching AWS Accounts Through Shadow Resources

AWS services such as CloudFormation automatically create S3 buckets with predictable names based on a per-account hash and region. An attacker who knows the hash can pre-create the bucket in an unused region, then read or modify victim templates, potentially injecting an admin role.

AWS

Info disclosure

NO_WILDCARD: How I discovered the Organization ID of any AWS Account

A researcher found that by creating a VPC Endpoint for EventBridge with a policy that used wildcards, they could determine the AWS Organization ID of any AWS account by observing which requests appeared in CloudTrail. This allowed correlating accounts to the same organization without authorization.

AWS

Info disclosure

Non-Production Endpoints as an Attack Surface in AWS

The researchers found that many non-production AWS API endpoints accept normal IAM credentials and some do not write events to CloudTrail, so a holder of stolen credentials could call API actions and enumerate permissions without leaving an audit trail. They also found two specific API actions that bypassed CloudTrail logging, which AWS has since fixed.

AWS

Leaked secrets

AWS CloudQuarry: Digging For Secrets In Public AMIs

Publicly shared Amazon Machine Images (AMIs) often contained sensitive data such as credentials, private Git repositories, and access keys. An attacker could launch instances from these AMIs and extract secrets, potentially leading to unauthorised access to cloud resources and other services.

AWS

AI / LLM

AWS Fixes Data Exfiltration Attack Angle in Amazon Q for Business

An indirect prompt injection in Amazon Q for Business could make the LLM render markdown hyperlinks that include sensitive chat history, tricking users into clicking a phishing link. The attacker could exfiltrate victim data by appending it to the URL.

AWS

XSS

Fuzzing and Bypassing the AWS WAF

The AWS WAF's managed rule sets failed to block a cross-site scripting payload that used the experimental onbeforetoggle event to trigger JavaScript execution. An attacker could inject this payload into a vulnerable application to execute arbitrary scripts in a victim's browser.

AWS

Info disclosure

Bypass Cognito Account Enumeration Controls

Cognito's 'Prevent user existence errors' setting only applies to the initiate-auth flow, not to the sign-up API. An attacker can call sign-up with a username and observe whether a 'UsernameExistsException' is returned, allowing enumeration of valid accounts.

AWS

Access control

The Deputy Is Confused About AWS Security Hub

The blog post describes a confused deputy vulnerability in AWS Security Hub integrations where a security product could send findings to an unintended AWS account if the customer provides the wrong account ID. An attacker could sign up to a scanning service and use it to pollute another customer's Security Hub with false findings.

AWS

Access control

A Confused Deputy Vulnerability in AWS AppSync

AWS AppSync failed to properly validate the account of a role ARN when creating a data source, allowing an attacker to bypass cross-account restrictions by using mixed-case JSON keys. This let an attacker assume IAM roles in other AWS accounts that trust AppSync, potentially accessing resources such as DynamoDB tables.

AWS

Misconfiguration

Identifying vulnerabilities in GitHub Actions & AWS OIDC Configurations

AWS IAM roles set up for GitHub Actions OIDC were often given trust policies that did not check the subject claim, so any GitHub repository could assume them. An attacker could then obtain short-lived AWS session credentials and reach the organisation's cloud resources.

AWS

IDOR

Two Minor Cross-Tenant Vulnerabilities in AWS App Runner

Two undocumented AWS App Runner API actions accepted an arbitrary AWS account ID without verifying that the caller belonged to that account, allowing an attacker to retrieve VPC connector and observability configuration details from other tenants. The leaked information included security group IDs, subnet IDs, and ARNs.

AWS

SSRF

Finding Hundreds of SSRF Vulnerabilities on AWS

Many AWS-hosted web servers were vulnerable to SSRF via the Host header, allowing an attacker to make the server request the cloud metadata endpoint. This could expose IAM role information and potentially credentials.

AWS

Access control

Threat Evasion for aws:multifactorAuthPresent condition using Cloudshell

An IAM policy that required MFA for sensitive Lambda actions could be bypassed by generating session credentials from the AWS Cloud Shell console, which already carries an MFA-authenticated session. An attacker holding a privileged user's access keys could therefore perform sensitive actions without knowing the MFA code.

AWS

Path traversal

Exploration

A local file read vulnerability in the log_fdw extension of Amazon RDS for PostgreSQL allowed an attacker with database access to read arbitrary files on the underlying EC2 instance. By reading configuration files, the attacker obtained temporary AWS credentials for an internal service, potentially gaining access to AWS's internal account.

AWS

CSRF

AWS SageMaker Jupyter Notebook Instance Takeover

A cross-site request forgery (CSRF) vulnerability in AWS SageMaker JupyterLab allowed an attacker to install a malicious extension on a victim's notebook instance across AWS accounts, leading to theft of the instance's IAM role credentials. The attacker could then use those credentials to access S3 data and perform other actions permitted by the role.

AWS

XSS

XSS in the AWS Console

The AWS Console's Elastic Beanstalk Change History page inserted user-controlled values such as the user agent and environment name directly into the DOM without sanitisation, allowing HTML injection. Although a Content Security Policy initially blocked script execution, the page used AngularJS, and by injecting an AngularJS directive the attacker could bypass the CSP and achieve cross-site scripting.

AWS

Account takeover

Password reset code brute-force vulnerability in AWS Cognito

The password reset function of AWS Cognito allowed more guesses of the six-digit reset code than documented when requests were sent concurrently. An attacker could guess the code and change the password of accounts without multi-factor authentication.

AWS

Write-up

The humble buildspec.yml

A public repository's build configuration allowed pull requests to modify deployment scripts, and the build job for pull requests used the same privileged role as production deployments. An attacker could open a pull request that runs arbitrary commands and uploads files to the production bucket, potentially taking over the site.

AWS

Access control

AWS ECR Public Vulnerability

Undocumented internal ECR Public API actions could be invoked with temporary credentials obtained from a public Cognito identity pool, allowing an attacker to delete or modify images and tags in other AWS accounts' public repositories. This could lead to denial of service, data exfiltration, or supply chain attacks by injecting malicious code into popular images.

AWS