HexBrain

Mozilla · Report #2401648

two aws access key and secret key and database username and password exposed

Validstatus
criticalseverity
71upvotes
18 Oct 2024disclosed

Summary

A security vulnerability is identified in a Docker image hosted on Docker Hub. The image, associated with Mozilla's Common Voice project, is found to contain exposed AWS access keys, AWS secret keys, and database credentials. These sensitive credentials are discovered within the file /code/scripts/test/config.json of the Docker image and allowed unauthorized access to AWS resources associated with the project. The images were deleted from docker hub, the credentials were rotated and the AWS users associated with them were removed.

Note that Common Voice is out of scope of our program but we accepted and rewarded this report since it is critical.

How it was found

Summary:

hello mozilla security team i found two aws access key and secret key and database username and password exposed in dockerhub image

Steps To Reproduce:

go to https://hub.docker.com/r/mozilla/commonvoice and do pull for this image you will find them in /code/scripts/test/config.json ███████ poc of the asw keys ████ and also ████ reference {F3097699} and the enum for it ████████

Supporting Material/References

*https://hackerone.com/reports/1720278

Impact

Summary:

exposure of sensitive data lead to many serious attacks and access

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original