Spring Boot Actuator Misconfigurations Can Expose Secrets and Enable RCE

· Original article ↗

Summary

Wiz reports misconfigured, publicly exposed Spring Boot Actuator instances in 24% of environments with exposed Actuators. The article explains risks including secret exposure, SSRF, and conditional RCE, and recommends restricting access and disabling sensitive endpoints

Key points

  • Wiz says 24% of cloud environments with publicly exposed Actuators had misconfigured instances detected; 60% of cloud environments had at least one Actuator instance.
  • Unauthenticated heapdump and env endpoints can expose credentials, tokens, and other sensitive runtime data.
  • An exposed Gateway endpoint can enable SSRF; with IMDSv1 enabled, an attacker may retrieve instance credentials from the cloud metadata service.
  • CVE-2022-22947 can enable RCE when the Gateway endpoint is publicly exposed without authentication and the application uses a vulnerable Spring Cloud Gateway version.
  • The article says it knows of no widely documented real-world exploitation of the specific heapdump or env misconfigurations discussed.
  • Recommended defenses include authenticating and restricting access to Actuator endpoints, disabling or excluding sensitive endpoints, and keeping Actuator and related libraries updated.

Article Details

Topic
Security risks from publicly exposed or misconfigured Spring Boot Actuator endpoints, including credential disclosure, SSRF, and potential remote code execution.

MITRE ATT&CK

CVE

Vendors

Products

Tools

Related Articles