Courseiva

CEH Practice Question: Advanced Topics: Wireless, Cloud, IoT, Cryptography

A cloud security engineer notices that an S3 bucket named 'company-backup' is configured to allow 's3:GetObject' access to 'Principal: *'. Which attack is this misconfiguration MOST likely to enable?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Unauthorized data access and exfiltration

When an S3 bucket allows GetObject access to any principal (public), anyone can list and download objects, leading to data exposure. This is a classic unauthorized data access scenario, not privileged escalation or DoS.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Denial of service by deleting objects

    Why it's wrong here

    Public read access to an S3 bucket specifically grants the s3:GetObject permission, allowing users to retrieve objects. It does not, however, confer permissions like s3:DeleteObject or s3:PutObject which are required to modify or remove existing data. Therefore, an attacker with only public read access cannot perform a denial-of-service attack by deleting objects, as they lack the necessary write or delete privileges.

  • SSRF attack to internal metadata

    Why it's wrong here

    Server-Side Request Forgery (SSRF) attacks typically exploit a vulnerable server-side application that can be tricked into making requests to internal network resources. While S3 buckets can host static content, public read access to the S3 service itself does not provide a mechanism to force the underlying AWS infrastructure or any associated compute instances to initiate arbitrary internal requests to metadata endpoints. S3 is a storage service, not a compute environment susceptible to direct SSRF exploitation via its public access policy.

  • Privilege escalation via IAM role

    Why it's wrong here

    Public read access to an S3 bucket is a granular permission granted via a bucket policy, allowing anonymous users to perform s3:GetObject actions. This access is strictly limited to reading data within that specific bucket and does not extend to or grant any AWS Identity and Access Management (IAM) role permissions. Consequently, an attacker cannot leverage public S3 read access to assume an IAM role or escalate privileges within the AWS account, as these actions require explicit IAM permissions distinct from S3 object access.

  • Unauthorized data access and exfiltration

    Why this is correct

    When an S3 bucket is configured for public read access, it means that the bucket policy explicitly permits the s3:GetObject action for the * principal (anonymous users). This configuration allows anyone on the internet to enumerate and download all objects stored within that bucket without requiring any authentication. This direct and unrestricted access inevitably leads to unauthorized data access and subsequent exfiltration, constituting a severe data breach where sensitive information can be freely downloaded.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every CEH question from scratch — 870 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CEH practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CEH exam.