Skip to content
Info disclosure Disclosed report Intermediate

AWS Auto Scaling Service Reporting "AWS Internal" for CloudTrail Events Generated from Specific Endpoints

Six AWS Auto Scaling API endpoints logged CloudTrail events with the user-agent and network information shown as "AWS Internal" instead of the caller's real details. An attacker using these endpoints could hide their source IP address and operating system information from defenders reviewing CloudTrail logs.

nick_frichette_dd Follow

Originally disclosed on HackerOne

  • Fixed in 35 days
  • Disclosed after 55 days

When performing calls to the AWS API, AWS CloudTrail is responsible for logging that API activity for customers. These CloudTrail event logs contain information about the API call, when it was performed, by whom, etc.

We have found 6 API endpoints for the AWS Auto Scaling service that incorrectly report the user-agent and network information as "AWS Internal". As a result of this, an adversary can perform API calls using these endpoints and evade the logging of their IP address/operating system information.

This is similar to previous bugs we've submitted for the following services:

Steps To Reproduce:

First, as a base line, perform the following AWS CLI command:

███

Wait 5-10 minutes for this event to appear in CloudTrail. From here, inspect the CloudTrail log and see that the UserAgent field is populated, as well as the source IP address.

Next, run the following command:

███████ ████████

Wait 5-10 minutes for this event to appear in CloudTrail. From here, inspect the CloudTrail log and see that the UserAgent field and network information is "AWS Internal". Because of this endpoint we used, we cannot see the request information which may degrade a defenders ability to track down an adversary.

List of endpoints exhibiting this behavior

  • ████

Please note: We follow an industry standard 90-day vulnerability disclosure policy. You can read more about our policy here.

Impact

Summary:

An adversary can use these endpoints to avoid disclosing their source IP address or user agent information to the victim.

The original report as published on HackerOne, by nick_frichette_dd. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Root cause

Likely certain Auto Scaling API endpoints route requests internally in a way that causes CloudTrail to record the internal service identity rather than the original caller's user-agent and network details.

Impact

An adversary could use these endpoints to avoid disclosing their source IP address or user agent, which may degrade a defender's ability to track them down.

What the attacker needed

AWS account with API access; Use of the affected Auto Scaling endpoints

How it was found

  1. Make a baseline AWS CLI call and wait for the event to appear in CloudTrail.
  2. Inspect the CloudTrail log and confirm the user-agent and source IP are populated.
  3. Run the call against one of the affected endpoints and wait for the event to appear.
  4. Inspect the CloudTrail log and observe the user-agent and network information shown as AWS Internal.

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 report has not been written yet. The Original tab links to the source.

CloudTrail is AWS's logging service that records who called which API and from where. Normally a log entry shows the caller's IP address and user agent (the software making the request), but for six Auto Scaling endpoints these fields were replaced with the generic label "AWS Internal". That means someone misusing those endpoints would leave a log entry that does not reveal where they came from.

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_dd

View all

22 more disclosed reports, best first.

More from AWS VDP

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.