Courseiva

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

A security engineer analyzes a cloud environment and finds that an S3 bucket named 'company-backups' is configured with a bucket policy that allows 'Principal': '*' and 'Action': 's3:GetObject'. Which of the following is the MOST likely risk?

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

An attacker can read any object in the bucket without authentication

A bucket policy allowing anonymous GetObject makes all objects publicly readable, leading to data exposure.

Answer analysis

Option-by-option breakdown

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

  • An attacker can read any object in the bucket without authentication

    Why this is correct

    The bucket policy explicitly grants the "s3:GetObject" action to "Principal: *". This configuration means that any user, including unauthenticated internet users, can retrieve and read the content of any object within the bucket, provided they know the object's key. This effectively makes all objects publicly readable, posing a significant data exposure risk.

  • An attacker can modify the bucket policy

    Why it's wrong here

    Modifying a bucket's policy requires the specific "s3:PutBucketPolicy" permission, which is a high-privilege action not granted by the existing policy. The policy only permits "s3:GetObject", which is solely for reading object data. Therefore, an attacker cannot alter, add, or remove any statements from the bucket's access policy.

  • An attacker can delete objects in the bucket

    Why it's wrong here

    Deleting objects within an S3 bucket necessitates the "s3:DeleteObject" permission, which is distinct from the "s3:GetObject" action. The current policy only authorizes the retrieval of object content. Without the explicit "s3:DeleteObject" permission, an attacker lacks the necessary authorization to remove any data from the bucket, preventing destructive actions.

  • An attacker can enumerate all objects in the bucket

    Why it's wrong here

    Enumerating or listing all objects in an S3 bucket requires the "s3:ListBucket" permission, which is not granted by the policy. While "s3:GetObject" allows reading a *specific* object if its key is known, it does not provide a mechanism to discover the names or keys of all objects present. An attacker cannot browse the bucket's contents without this distinct listing permission.

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.