Secret Access Key of AWS Firehose Disclosure
A publicly reachable JavaScript file contained a base64-encoded AWS Firehose secret access key with permission to put records. An attacker could use it to send large amounts of data to the delivery stream, raising costs and potentially overloading downstream systems.
Originally disclosed on HackerOne
- Triaged in 5 days
- Fixed in 42 days
- Disclosed after 13 months
The ███████ domain has the /error_docs/uat.js endpoint, which contains the secret access key of AWS Firehose encoded in base64.
The secret access key has permission to put the record.
Impact
The attacker could repeatedly send massive amounts of data to the Firehose delivery stream, causing:
- Increased costs due to higher data processing charges.
- Potential overloading of downstream systems (e.g., S3, Redshift, or Elasticsearch) if the Firehose delivery stream forwards the data to such services.
System Host(s)
███████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
- Go to
█████████. - Decode the base64 encoded string found in the file:
███ - Use the secret access key and related metadata information to put the record.
The attached image shows that I can put the record.
Suggested Mitigation/Remediation Actions
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
Impact
An attacker could repeatedly send large amounts of data to the Firehose stream, increasing processing costs and potentially overloading downstream systems such as S3, Redshift or Elasticsearch.
What the attacker needed
Access to the endpoint
How it was found
- Decode the base64 string in the file to recover the key.
- Use the key and related metadata to put a record into Firehose.
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.
A secret access key is like a password for a cloud service. Here it was stored in a file, encoded in base64 rather than properly protected. Whoever obtained it could act as the application and send data to the company's data pipeline, which costs money.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.