Skip to main content
Back
DemonstrationAWS
1 min read

Mozilla’s staging WebPageTest exposed instance metadata

Environment
Mozilla WebPageTest staging service
When
Reported May 8, 2019, Pacific timeDisclosed May 17, 2019
Entry
The researcher documented access to metadata through the staging service. Mozilla confirmed the behavior.

A researcher showed that Mozilla’s staging service for testing web performance exposed AWS credentials. Mozilla confirmed the behavior and traced it to software used by the test service. The software maintainer deployed a fix. Mozilla assessed the impact as small, and the report identifies no production compromise.

What the demonstration did

Researcher
Griffin Francis
Internet
AWS staging
Testing agent

AWS staging / Griffin Francis research

  1. 1

    The staging agent exposed instance metadata

    May 8–9, 2019

    The researcher documented access to metadata through the staging service. Mozilla confirmed the behavior.

  2. 2

    The upstream maintainer distributed a fix

    May 9–16, 2019

    Mozilla identified an upstream dependency in the staging agents. The maintainer reported issuing fixes and later confirmed that the fix was live.

Impact

Mozilla staff confirmed that a WebPageTest staging agent could expose AWS instance metadata. The report documented access to credentials, and Mozilla later assessed the impact as small. It contains no finding of production compromise.

Would the controls have stopped it?

Require tokens for instance metadata

On staging agents that support IMDSv2, require tokens to refuse the tokenless read the researcher documented. Patch WebPageTest to address the application flaw. AWS introduced IMDSv2 after this report.

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
Griffin Francis
Internet
AWS staging
Testing agent

AWS staging / Griffin Francis research

1 · The staging agent exposed instance metadata

1 Contained

2 · The upstream maintainer distributed a fix

1 Not covered

Key facts

  • Griffin Francis filed the report on May 8, 2019, Pacific time.
  • A Mozilla participant confirmed the reported behavior on May 9.
  • The upstream maintainer said on May 16 that the fix had been live for a week.
  • The public CVE record for the WebPageTest issue appeared on May 17.

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.
    Bug 1550366: WebPageTest staging metadata exposureMozilla Bugzilla · May 8, 2019 · ResearchFirst-hand account of the finding, its scope and the response.
  2. 2.
    CVE-2019-12161CVE Program · May 17, 2019 · Vendor reportPublic disclosure of the upstream WebPageTest issue.
  3. 3.
    Use the Instance Metadata Service to access instance metadataAWS · undated · Vendor reportToken requirements for metadata access.
  4. 4.
    Add defense in depth with enhancements to the EC2 Instance Metadata ServiceAWS · Nov 19, 2019 · Vendor reportLaunch of IMDSv2 after the May investigation.

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