Open memory dump method leaking customer information ,secret keys , password , source code & admin accounts
The Spring Boot Actuator endpoints were publicly accessible, allowing anyone to download a heap dump containing secrets, credentials, and JWT signing keys. An attacker could use these to forge tokens, take over accounts, and access sensitive data.
Originally disclosed on HackerOne
- Triaged in 42 hours
- Fixed in 5 days
- Disclosed after 5 days
Summary:
Stripo uses Spring boot for the backend API development , and misconfigured the application to open actuator APIs to the public.
This issue is found in 3 domains , don't know if I need to publish 3 reports for that, or just one report , but the domains are : https://my.stripo.email/cabinet/stripeapi/actuator https://plugins.stripo.email/actuator https://plugin.stripo.email/actuator
it might be available in other micro services as well
Steps To Reproduce:
- Go to the following URL : https://my.stripo.email/cabinet/stripeapi/actuator/heapdump
- This url will download the heap dump of the server
- using a memory analyzer such as Eclipse memory analyzer or VisualVM open the downloaded file
- By searching inside the file you can find all the secrets , credentials , urls , JWT tokens & JWT secret keys, which can be used and generate any JWT token and takeover any account on the system.
- Attached some examples of what can be found and used by this vulnerability, and you can imagine any bad scenario, and this issue can be used to take over/down Stripo
Supporting Material/References:
Please find more information about actuator on the following URL: https://docs.spring.io/spring-boot/docs/current-SNAPSHOT/actuator-api/html/#heapdump
Example of open functionalities: ████
Admin Credentials: ███
Other User's information: █████████
Billing Service Credentials: ████
Config Server Credentials: ███████
Impact
This vulnerability allows any attacker to perform many severe attacks such as :
- Upgrade accounts without payments.
- Get logged in customer information and get access to the session & JWT tokes to take over accounts
- PII Data leaking
- Accessing all credentials from the application properties such as , admin credentials, swagger credentials , billing credentials .
- Get database credentials
- Server Environment variable
- Server config Properties.
- Payments manipulations and money stealing
- and more
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 forge JWT tokens to take over any account, access customer PII, obtain database and billing credentials, and manipulate payments.
What the attacker needed
Public internet access to the actuator endpoint
How it was found
- Navigate to the actuator heapdump URL on the target domain.
- Download the heap dump file.
- Open the file with a memory analyzer tool.
- Search the dump for secrets, credentials, and JWT keys.
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.
Spring Boot Actuator is a built-in feature that exposes operational endpoints, such as a heap dump, which is a snapshot of the server's memory. If these endpoints are left open to the internet, anyone can download the memory dump and extract passwords, API keys, and session tokens stored in memory. This report shows that the attacker could use those secrets to log in as other users or take over accounts.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.