Skip to content
Info disclosure Write-up Advanced

Bypassing CloudTrail in AWS Service Catalog, and Other Logging Research

AWS Service Catalog had an undocumented gamma endpoint that allowed read and write API actions without generating CloudTrail logs, and AWS Control Tower's Blackbeard service failed to log failed API calls. An attacker with compromised credentials could use these gaps to modify resources or enumerate permissions without being recorded in CloudTrail.

Nick Frichette Follow

Published on securitylabs.datadoghq.com

Staff Security Researcher](https://securitylabs.datadoghq.com/articles/?author=NickFrichette)

Nick Frichette, on securitylabs.datadoghq.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the gamma endpoint for Service Catalog was not integrated with CloudTrail logging, and the Control Tower service did not log failed API calls.

Impact

An attacker with sufficient privileges could perform read and write actions on Service Catalog and enumerate Control Tower permissions without being logged in CloudTrail, potentially evading detection.

What the attacker needed

Compromised AWS credentials; sufficient privileges for Service Catalog or Control Tower

The fix

AWS fixed the issues by blocking requests to the gamma endpoint for Service Catalog and ensuring failed requests are logged for Control Tower.

How it was found

  1. Find the gamma endpoint for Service Catalog from the console's JavaScript.
  2. Send signed API requests to the gamma endpoint and observe that they succeed.
  3. Check CloudTrail and see that no events are logged for those requests.
  4. For Control Tower, call an API with a user lacking permissions and observe no CloudTrail log.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

CloudTrail is a logging service in Amazon Web Services (AWS) that records who did what. This report found that some AWS services had hidden endpoints or logging gaps that let actions happen without being recorded, so an attacker who already had access could act without leaving a trace.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Nick Frichette

View all

8 more disclosed reports, best first.

More from AWS

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.