Skip to main content
Back
DemonstrationAWS
1 min read

AWS narrowed the permissions granted by CodeStar projects

Environment
AWS CodeStar project provisioning
When
Reported to AWS March 19, 2019Disclosed Jun 18, 2019
Entry
Rhino demonstrated administrator access in its research using permissions issued during CodeStar project provisioning.

Rhino demonstrated administrator access in its research using permissions issued during CodeStar project provisioning. After testing successive fixes with AWS, Rhino reported that the original administrator path had been remediated. It distinguished that result from remaining permissions risks.

What the demonstration did

Researcher
Rhino Security Labs
Internet
CodeStar project
Project roles

CodeStar project / Rhino Security Labs research

  1. 1

    Project provisioning granted excessive authority

    Reported March 19, 2019

    Rhino demonstrated administrator access in its research using permissions issued during CodeStar project provisioning.

  2. 2

    AWS revised the project permissions

    By mid-May 2019

    After testing successive fixes with AWS, Rhino reported that the original administrator path had been remediated. It distinguished that result from remaining permissions risks.

Impact

Rhino Security Labs demonstrated that CodeStar project provisioning could give a research user administrator permissions. AWS narrowed project permissions. The researchers still found a more limited increase in privileges after that change.

Would the controls have stopped it?

Limit the authority a project can delegate

Use IAM permissions boundaries on roles created for projects, and narrow the permissions given to project owners. AWS changed both in CodeStar. Customers with surviving project resources can review those roles and policies directly.

Incident control assessments

0
Prevented
1
Contained
1
Not covered

How it could have been prevented

The same replay with the controls in place. Green marks where a step is refused, blue where it is bounded, and red where no control reaches it. Open a row to read the control, why it acts, and its caveat.

Researcher
Rhino Security Labs
Internet
CodeStar project
Project roles

CodeStar project / Rhino Security Labs research

1 · Project provisioning granted excessive authority

1 Contained

2 · AWS revised the project permissions

1 Not covered

Key facts

  • Rhino Security Labs reported the issue to AWS Security on March 19, 2019.
  • AWS changed the permissions granted to project owners and a project service role.
  • By mid-May, AWS had confirmed remediation of the reported administrator path.
  • Rhino’s June 18 report described a narrower permissions issue that remained.

Sources

Every fact in this breakdown comes from the public reporting below. The replay is a model of that reporting, not a reconstruction of the environment it describes.

  1. 1.
    Escalating AWS IAM Privileges with an Undocumented CodeStar APIRhino Security Labs · Jun 18, 2019 · ResearchFirst-hand account of the finding, its scope and the response.
  2. 2.
    Permissions boundaries for IAM entitiesAWS · undated · Vendor reportBoundaries cap identity-based permissions.
  3. 3.
    Services in Full ShutdownAWS · undated · Vendor reportAWS lists CodeStar as a retired service.

The estate in the replay follows the researchers' description of their own test environment. Verdicts describe what a control does when it is in place before the run. They are not an assessment of any company's security program.

More cloud attack breakdowns

All breakdowns