# Spring Actuator endpoints publicly available, leading to account takeover

Exposed Spring Boot Actuator /heapdump and /env on a custom path leaked JVM memory containing admin credentials and user tokens, enabling LINE Official Account takeover.

- Payout: $5,000
- Severity: critical
- Program: LY Corporation
- Found by: kazan71p
- Disclosed: 2020-08-04
- Write-up quality: 6/10
- Original: https://hackerone.com/reports/862589
- Library page: https://bugbountylibrary.com/r/h1%3A862589
- Tags: area:web domain:web impact:ato impact:data-leak impact:internal-access kind:bounty platform:hackerone sev:critical tech:java technique:recon vuln:access-control vuln:info-disclosure vuln:misconfiguration

**Target:** Spring Boot Actuator endpoints (/heapdump, /env) on *.line.me
**Root cause:** Actuator endpoints were exposed without access controls and placed on a custom path, evading internal detection.
**Steps:**
1. Discover Spring Boot Actuator endpoints on a non-default custom path under *.line.me
2. Request `/heapdump` to download the JVM heap dump
3. Extract admin credentials, user tokens, and cookies from the heap dump
4. Replay leaked tokens/cookies to hijack LINE Official Accounts
**How found:** Reporter located Actuator endpoints hidden on a custom path, which the internal security team's usual scanning missed; accessing the endpoint also triggered a CSIRT alert.
**Exploitation:** Download the heap dump, mine it for session tokens and admin credentials, then replay them against the application to take over LINE Official Accounts.
**Insight:** Spring Actuator endpoints are often relocated to custom paths to dodge scanners; enumerate non-default paths and check /heapdump and /env for credential and token leakage.

