BreachHunter
Pricing Blog Log inSign up
● thermal huntscan engines onlineassessment only — no exploits
  1. Home
  2. Blog
  3. Spring Boot Actuator Exposed: Environment Dumps, Heap Leaks and Shutdown Endpoints

Guides · ← All guides

Spring Boot Actuator Exposed: Environment Dumps, Heap Leaks and Shutdown Endpoints

Published: November 14, 2026 · Last reviewed: November 14, 2026 · 7 min read

By the Ingenious AI team

The short answer: Spring Boot Actuator is a production-monitoring feature that exposes operational endpoints — health, metrics, environment, heap dumps. Exposed to the internet, it is rated HIGH (8 points) in BreachHunter's sensitive-paths table because of what the rich endpoints contain: /actuator/env renders your application's configuration (a traditional home for credentials), /actuator/heapdump downloads the JVM's memory — passwords, tokens and session data included — and some configurations even leave /actuator/shutdown within reach. The endpoints are a feature in the wrong audience.

Run a free BreachHunter assessment on your site →

Actuator exposure is the Java ecosystem's entry in the “developer X-ray left public” family that runs through this whole guide series — phpinfo for PHP, debug consoles for Python frameworks, and here, a monitoring suite that developers enable for their dashboards and forget is an HTTP surface like any other.

This guide covers which endpoints matter and why (env, heapdump, configprops, mappings, shutdown), why the defaults changed across Spring Boot versions yet the finding persists (proxies and management-port mistakes expose what the framework restricted), and the lockdown pattern: management traffic on its own port, network-restricted, with exposure narrowed to health alone on the public side.

What does each exposed endpoint give an attacker?

Start with env: the full merged configuration of the application, property by property — data-source URLs, cloud keys, mail credentials, JWT secrets, feature flags with internal hostnames. Spring masks values for keys it recognizes as sensitive, but custom-named secrets slip past the mask list regularly, and even masked output maps the entire system. heapdump is worse in a different way: a binary snapshot of live memory containing whatever the process was holding — connection strings, decrypted values, user session objects — downloadable in one request.

The supporting endpoints fill the recon picture: configprops (every configuration bean), mappings (every route the app serves, including the ones not linked anywhere), beans, threaddump, and metrics that fingerprint versions and load. And at the far end, shutdown — disabled by default in current versions, but the endpoint whose mere presence in an exposure list justifies the HIGH on its own. An attacker does not need all of these; the assessment's /actuator/ row stands for the door being open at all.

Defaults improved. Why does the finding persist?

Because exposure usually arrives through the plumbing, not the framework default. Current Spring Boot exposes only health over HTTP by default — but applications re-open the full set for a monitoring dashboard and forget the network part; reverse proxies forward /actuator/* from the public vhost because nobody carved it out; and the management server, meant to listen on a separate internal port, gets published by the same load balancer rule as the app. Each is a one-line misconfiguration with the whole endpoint suite behind it.

The durable pattern separates planes: public exposure narrowed to health (and info, if you truly publish it), the management port bound internally and reachable only from the monitoring network or VPN, and authentication on any management endpoint that must cross a boundary. Then verify externally: the audit's probe asks for /actuator/ and the finding closes when the public answer is 404/401 rather than a links page cataloguing your endpoints — the catalog itself being the tell.

Worked example: cloudninepets.example

Cloud Nine Pet Care's booking platform is a Spring Boot service behind a reverse proxy. A monitoring integration had led a developer to expose all Actuator endpoints “temporarily” at the application port, and the proxy forwarded them to the world. The scanner's sensitive-path probe found the catalogue:

GET /actuator/ -> 200  { _links: env, heapdump, configprops, mappings, beans, ... }
GET /actuator/env -> 200  (data-source URL + custom-named API key unmasked)
Finding: Spring Actuator exposed — HIGH (-8)

The unmasked key was rotated first — the env endpoint had been public for roughly five months, an assumption-of-copying case like any credential exposure. Then the planes were separated: public exposure cut to health only, management moved to its own port bound to the internal network, and the proxy given an explicit /actuator/* block as a second wall. Retest showed the public catalogue gone and the monitoring integration working over the internal port — proof the lockdown had never needed the public exposure in the first place.

The five actions to take

Separating Actuator's planes:

  1. Probe your public surface: /actuator/ and the named endpoints (env, heapdump, configprops, mappings) — note every 200.
  2. Rotate any credential visible in env output or plausibly present in a heap dump; treat the exposure window as copying time.
  3. Set public exposure to health only (management.endpoint.web.exposure.include=health); move full management to a separate internal port.
  4. Block /actuator/* at the reverse proxy for the public vhost as a second, independent wall.
  5. Re-scan externally and confirm the monitoring tooling still works over the internal path.

Run a free BreachHunter assessment on your site →

Frequently asked questions

Health endpoints are public on many big sites. Is that OK?

Yes — /actuator/health returning an UP status is a normal, deliberate publication (load balancers and status pages consume it). The finding is about the rich endpoints: env, heapdump, configprops and friends. Health-only exposure is the target state, not a failure.

Does Spring's masking of sensitive env values make exposure safe?

It reduces the blast radius and misses regularly: masking matches known key names (password, secret, key patterns), and real configurations are full of custom names that do not match. Plus mappings, beans and heapdump are unmasked by design. Masking is a seatbelt on a car that should not be on this road.

We need Prometheus metrics. How without public exposure?

Serve metrics on the management port and let Prometheus scrape it over the internal network — the standard deployment the separate-port feature exists for. Nothing about scraping requires the public internet to reach the endpoint.

Can the scanner tell which endpoints are exposed, or only that /actuator/ answers?

The probe starts at the base path — an exposed catalogue page lists the endpoints itself — and reports the base finding. Enumerating each endpoint's content is pentest territory. For remediation purposes the base answer is enough: if the catalogue is public, the lockdown work is the same.

Is this only a Java problem?

The product is Spring's, but the class is universal: health/ops surfaces (metrics servers, debug endpoints, profiler UIs) are built for operators and published by accident across every stack. The audit carries rows for several ecosystems' versions of the same mistake.

Sources

The primary sources behind this guide — the documents we check our own work against:

  • Spring Boot documentation — Actuator endpoints (2024) — which endpoints exist and which are sensitive.
  • OWASP Web Security Testing Guide (2021) — configuration and deployment management testing.
Share this: X · Facebook · LinkedIn · WhatsApp

Related guides

  • Website Security Test: What It Checks, What It Misses, and How to Read Yours · 9 min read
  • Website Security Cheat Sheet: Headers, TLS, Cookies and Exposed Files · 7 min read
  • What a Website Security Assessment Actually Tests · 10 min read
  • TLS/SSL Basics: What Your Certificate Says About Your Site · 8 min read
  • Common Website Misconfigurations (and How to Fix Them) · 11 min read
  • Reading Your First Pentest Report: From Score to Action · 9 min read
  • Deleted ≠ Gone: What the Wayback Machine Keeps After You Delete Your Secrets · 9 min read
  • SQL Injection in Plain English: How One Login Box Can Read Your Database · 9 min read
  • What Does a Website Security Scan Check? · 8 min read
  • Exposed .git Directory: What It Leaks and How to Check · 7 min read
  • Security Headers Missing? What Each Header Stops · 7 min read
  • How Much Does a Penetration Test Cost in 2026? · 7 min read
  • Website Security Checklist for Small Teams (60-second self-check) · 6 min read
  • Reading Your Scan Results: Which Findings Fix First? · 7 min read
  • Content-Security-Policy Missing: What CSP Does and How to Add It Safely · 8 min read
  • HSTS Missing: What Strict-Transport-Security Prevents · 7 min read
  • Clickjacking and X-Frame-Options: How Framing Attacks Work · 7 min read
  • Cookie Flags Explained: Secure, HttpOnly and SameSite · 8 min read
  • Exposed .env File: What Leaks, What Attackers Do Next, What You Do First · 8 min read
  • Directory Listing Enabled: What It Shows Attackers and How to Disable It · 7 min read
  • Mixed Content: Why Your HTTPS Page Still Loads Insecure Resources · 7 min read
  • Expired SSL Certificate: What Breaks, Why Renewal Fails, and How to Catch It Early · 7 min read
  • TLS 1.0 and 1.1 Still Enabled: Why Old Protocols Show Up as a Finding · 7 min read
  • Open Ports on a Web Server: Which Ones Should Never Face the Internet · 8 min read
  • No SPF or DMARC Record: How Missing Email Auth Exposes Your Website · 7 min read
  • Subdomain Takeover: How a Dangling DNS Record Lets Attackers Claim Your Name · 7 min read
  • Forgotten Subdomains: The Staging Site You Forgot Is Still Public · 7 min read
  • WordPress Security Scan: The Exposures an Assessment Finds on WordPress Sites · 8 min read
  • Exposed Backup Files: .bak, .old and .zip Files Sitting in Your Web Root · 7 min read
  • phpinfo() in Production: The Diagnostic Page That Maps Your Server for Attackers · 7 min read
  • Server Version Banners: Why Your Headers Point Attackers to the Right Exploit · 7 min read
  • End-of-Life Software: Running a Server Stack Nobody Patches Anymore · 7 min read
  • CORS Misconfiguration: When Cross-Origin Sharing Opens Your Data to Any Site · 7 min read
  • Open Redirect Vulnerability: How Your Own Domain Sends Visitors to a Phishing Page · 7 min read
  • Dangerous HTTP Methods: What TRACE, PUT and DELETE Should Never Answer · 7 min read
  • Host Header Injection: Poisoned Reset Links and Cache Attacks Explained · 7 min read
  • What Is security.txt? The Small File That Lets Researchers Reach You · 6 min read
  • Admin Panel Exposed to the Internet: What an Assessment Flags and Why · 7 min read
  • phpMyAdmin Exposed: Why This Database Door Is a Prime Brute-Force Target · 7 min read
  • Debug Console in Production: The Finding That Can Become Code Execution · 7 min read
  • Exposed AWS Credentials File: The /.aws/credentials Finding, Explained · 7 min read
  • Referrer-Policy and Permissions-Policy: The Two Quiet Headers You Are Probably Missing · 6 min read
  • Exposed package.json: Your Dependency List Is a Recon Gift · 6 min read
  • DNS Zone Transfer Open (AXFR): Handing Out Your Entire DNS Map · 6 min read
  • Certificate Name Mismatch: Why the Cert Does Not Match Your Domain · 6 min read
  • Website Security Assessments for Agencies: Checking Every Client Site Without a Security Team · 8 min read
  • SaaS Security Questionnaires: What Buyers Check About Your Website First · 8 min read
  • Ecommerce Website Security: The Exposures That Put Your Checkout at Risk · 8 min read
  • Small Business Website Security: The Checks That Matter at Your Size · 7 min read
  • How to Prepare for a Website Security Assessment (and Read the Report Calmly) · 7 min read
  • Vulnerability Severity Explained: What Critical, High, Medium and Low Actually Mean · 7 min read
  • Retest After Fixes: How to Prove a Security Finding Is Actually Closed · 7 min read
  • Security Assessment vs Vulnerability Scan vs Pentest: What Is the Difference? · 7 min read
  • How Long Does a Website Security Scan Take? · 6 min read
  • Website Security Drift: Why Last Month's Clean Scan Is Already Out of Date · 7 min read
  • WordPress Site Keeps Getting Hacked After Cleanup · 8 min read
  • Google Blacklist Removal: Getting the Red Warning Off Your Site · 8 min read
  • VirusTotal Flagged My Site: How to Clear a False Positive · 8 min read

Related from the Ingenious AI suite

  • Ingenious AI — the full suite of security and compliance tools
  • DomainGuard — domain impersonation and typosquat defense
  • See BreachHunter pricing →
BreachHunter · by Ingenious AI · read-only security assessment — scan only targets you own or are authorized to test
About · Contact · Blog · vs Intruder · Privacy · Terms · Security · Threats · Nextcloud Check · Verify Evidence · Help · Redeem
More from Ingenious AI:
DisclosureGuard — AI disclosure compliance · Vibe-Code Audit — AI code security scanner · Rogue-Agent Defense — AI agent firewall · ChatBreaker — AI chatbot red-teaming · ModelMinder — AI model deprecation radar · TermsWatch — AI vendor terms monitor · Agent Flight Recorder — tamper-evident agent audit trails · Agent Auth Gateway — agent credentials & kill switch · DomainGuard — domain impersonation defense · Agent Passport — Know-Your-Agent registry · AgentGate — agent policy publisher · AgentBlock — AI agent & crawler access control · BoundaryVault — agent log forensics · Agentic Receipts — verifiable agent payment receipts · EvalEgress — eval-to-production exposure scan · HomeShield MCP — home AI server exposure check · WireWatch — payment verification ceremony · ADMT Notice Kit — AI decision notice compliance · DueLadder — human-approved invoice chasing · Agent-Ready Store Audit — can AI agents buy from your store · ContentCraft AI — content operations · AgentReady — agent-readiness checks · AI Audit Exchange — AI audit exchange · CallbackShield — callback & webhook protection · CompanionGuard — AI companion safety guardrails · CRAClock — EU Cyber Resilience Act deadline clock · EInvoice Translator — e-invoice format translator · GEOFixer — geo & local listing fixes · MandateGuard — agent spending mandates · OutcomeMeter — AI outcome measurement · ProvenanceGuard — content provenance checks · ReviewDesk — review response desk · ReviewProof — verified review evidence · TakedownCoop — coordinated phishing takedowns · TrustGate — trust & safety gating · BreachHunter — website penetration testing · All 36 platforms — the Ingenious AI portfolio

We use cookies. Necessary cookies keep the site working. With your permission we also use analytics cookies (to understand usage) and marketing cookies (for ads). Read our privacy policy.

NecessaryRequired for login, security and core features. Always on.
AnalyticsHelps us understand which pages are useful.
MarketingUsed for advertising and measuring ad performance.

    No match. Try “pricing”, “php2shell” or “contact” — or press Esc to close.

    ↑↓ navigate · Enter open · Esc close