During a retail SOC review, a Cloud Infrastructure Entitlement Management (CIEM) finding flags a non-administrative developer role in AWS that cannot directly access production databases. Which permission on that role still creates an indirect privilege escalation path?
Select an answer to reveal the explanation.
Short Explanation
You do not need direct database access to create risk if you can hand off a powerful role to a new server. Remember that effective iam:PassRole on the admin role plus ec2:RunInstances with its instance profile, EC2 trust and ability to run code in the instance is what enables escalation in AWS. PassRole by itself neither assumes a role nor creates a workload; the relevant service creation and execution permissions must also be present.
Full Explanation
Cloud Infrastructure Entitlement Management (CIEM) in AWS evaluates effective permissions and indirect escalation paths rather than direct data access alone. The correct permission with effective iam:PassRole on the admin role plus ec2:RunInstances with its instance profile, EC2 trust and ability to run code in the instance creates escalation because the developer can launch an EC2 instance with the administrative instance profile and then run code from inside that trusted workload to reach production databases. PassRole by itself neither assumes a role nor creates a workload; the relevant service creation and execution permissions must also be present. Permission to read public object storage buckets in a sandbox account grants only data-plane reads of non-sensitive objects and provides no identity elevation or cross-account production access. Permission to list security group rules across regional virtual networks provides read-only network metadata for visibility and cannot modify infrastructure, assume roles, or create compute. Permission to view billing cost summaries for non-production cloud groups is a reporting capability without control-plane actions or credential use. Restrict role-passing so identities can only pass explicitly approved low-privilege service roles.
Prefer to study offline? Printable PDF study book + test engine ($7.50, unofficial). These questions stay free here.