Skip to content
Info disclosure Disclosed report Intermediate

Amazon Pinpoint SMS and Voice, version 2 Service Reporting "AWS Internal" for CloudTrail Events Generated from FIPS Endpoints

Five FIPS endpoints for Amazon Pinpoint SMS and Voice version 2 log CloudTrail events with the user agent and network information as 'AWS Internal' instead of the caller's details. An attacker could use these endpoints to hide their source IP address and operating system information from defenders.

nick_frichette_dd Follow

Originally disclosed on HackerOne

  • Triaged in 15 days
  • Fixed in 37 days
  • Disclosed after 56 days

████████████Description:████████████ 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 5 API endpoints for the Amazon Pinpoint SMS and Voice, version 2 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.

As a coincidence, these 5 API endpoints are all FIPS endpoints. This is similar to a previous bug we submitted for the Comprehend Medical and Kendra services, leading me to believe this may be a wider issue across a small number of services.

Steps To Reproduce:

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

aws pinpoint-sms-voice-v2 describe-pools

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:

aws pinpoint-sms-voice-v2 describe-pools --endpoint-url █████████

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

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

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 the FIPS endpoints for this service are misconfigured so that CloudTrail records internal AWS metadata rather than the actual caller information.

Impact

An adversary could use these endpoints to avoid disclosing their source IP address or user agent information to the victim, degrading a defender's ability to track them down.

What the attacker needed

AWS credentials with access to the service; Knowledge of the affected FIPS endpoint URLs

How it was found

  1. Run a baseline AWS CLI command against the service and wait for the CloudTrail event.
  2. Inspect the CloudTrail log and confirm the user agent and source IP are populated.
  3. Run the same command but with one of the affected FIPS endpoint URLs.
  4. Wait for the new CloudTrail event and inspect it.
  5. Observe that the user agent and network information now show '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 a logging service that records who called which AWS API and from where. Normally it shows the caller's IP address and user agent, but for these five endpoints it shows 'AWS Internal' instead, so an attacker's real details are hidden.

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.