Ethical Hacking Automation

Automate Recon and scanning process with Vidoc. All security teams in one place

AWS Bucket Takeover Detection

By kannthu

Vidoc logoVidoc Module

What is the "AWS Bucket Takeover Detection?"

The "AWS Bucket Takeover Detection" module is designed to detect potential misconfigurations in Amazon Web Services (AWS) S3 buckets. It focuses on identifying cases where an attacker could potentially take over control of an S3 bucket, leading to unauthorized access and potential data breaches. This module is considered to have a high severity level, as it can expose sensitive information and compromise the security of AWS resources.

This module was authored by pdteam.


If a bucket takeover vulnerability is detected, it means that an attacker could gain unauthorized access to the targeted AWS S3 bucket. This can lead to various security risks, including:

- Unauthorized access to sensitive data stored in the bucket - Potential data breaches and exposure of confidential information - Compromise of AWS resources and potential disruption of services

How the module works?

The "AWS Bucket Takeover Detection" module works by performing specific HTTP requests and evaluating the responses against predefined matching conditions. It checks for the following conditions:

- The host is not an IP address - The response contains the phrase "The specified bucket does not exist" - The response does not contain the header "x-guploader-uploadid" - The host is not ""

If all of these conditions are met, the module considers the bucket to be potentially vulnerable to takeover.

Here is an example of an HTTP request that the module may send:

GET / HTTP/1.1
User-Agent: Vidoc

The module then evaluates the response to determine if it matches the defined conditions.

Module preview

Concurrent Requests (0)
Passive global matcher
dsl: Host != ipand
word: The specified bucket does not existand
NOT dsl: contains(toLower(all_headers), `x-guploa...and
NOT word:
On match action
Report vulnerability