Loading HuntDB...

A potential risk in the aws-lambda-ecs-run-task which can be used to privilege escalation.

Medium
A
AWS VDP
Submitted None
Reported by zolaer9527

Vulnerability Details

Technical details and impact analysis

Incorrect Privilege Assignment
**Summary:** I found a potential risk in the aws-lambda-ecs-run-task when I deployed it in the awslabs repository on GitHub. The application created a function with a role that has too many excessive permissions. A malicious user could leverage these permissions to escalate his/her privilege in multiple ways. **Description:** The aws-lambda-ecs-run-task application creates a function named rLambdaFunction, which has a role named rLambdaFunctionRole with the arn:aws:iam::aws:policy/AdministratorAccess policy. The policy allows for any action on all resources. That means the attacker can leverage these permissions to escalate privileges. If a malicious controlled this function, he/she can directly do what he/she wants to do as a root. ## Impact ## Summary: A malicious user could leverage these permissions to escalate his/her privilege.

Report Details

Additional information and metadata

State

Closed

Substate

Resolved

Submitted

Weakness

Incorrect Privilege Assignment