-
-Spring Boot includes a number of additional features called actuators that let you monitor
-and interact with your web application. Exposing unprotected actuator endpoints via JXM or HTTP
-can, however, lead to information disclosure or even to remote code execution vulnerability.
-
-
-
-Since actuator endpoints may contain sensitive information, careful consideration should be
-given about when to expose them. You should take care to secure exposed HTTP endpoints in the same
-way that you would any other sensitive URL. If Spring Security is present, endpoints are secured by
-default using Spring Security’s content-negotiation strategy. If you wish to configure custom
-security for HTTP endpoints, for example, only allow users with a certain role to access them,
-Spring Boot provides some convenient RequestMatcher
objects that can be used in
-combination with Spring Security.
-
-
-
-In the first example, the custom security configuration allows unauthenticated access to all
-actuator endpoints. This may lead to sensitive information disclosure and should be avoided.
-In the second example, only users with ENDPOINT_ADMIN
role are allowed to access
-the actuator endpoints.
-
-
-
-
-
-
-Spring Boot documentation:
-Actuators.
-
-
-Exploiting Spring Boot Actuators
-
-
-
diff --git a/java/src/security/CWE-016/SpringBootActuators.ql b/java/src/security/CWE-016/SpringBootActuators.ql
deleted file mode 100644
index cab31128..00000000
--- a/java/src/security/CWE-016/SpringBootActuators.ql
+++ /dev/null
@@ -1,18 +0,0 @@
-/**
- * @name Exposed Spring Boot actuators
- * @description Exposing Spring Boot actuators may lead to internal application's information leak
- * or even to remote code execution.
- * @kind problem
- * @problem.severity error
- * @precision high
- * @id githubsecuritylab/java/spring-boot-exposed-actuators
- * @tags security
- * external/cwe/cwe-16
- */
-
-import java
-import SpringBootActuators
-
-from PermitAllCall permitAllCall
-where permitAllCall.permitsSpringBootActuators()
-select permitAllCall, "Unauthenticated access to Spring Boot actuator is allowed."
diff --git a/java/src/security/CWE-016/SpringBootActuators.qll b/java/src/security/CWE-016/SpringBootActuators.qll
deleted file mode 100644
index 195de7a1..00000000
--- a/java/src/security/CWE-016/SpringBootActuators.qll
+++ /dev/null
@@ -1,155 +0,0 @@
-import java
-
-/** The class `org.springframework.security.config.annotation.web.builders.HttpSecurity`. */
-class TypeHttpSecurity extends Class {
- TypeHttpSecurity() {
- this.hasQualifiedName("org.springframework.security.config.annotation.web.builders",
- "HttpSecurity")
- }
-}
-
-/**
- * The class
- * `org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer`.
- */
-class TypeAuthorizedUrl extends Class {
- TypeAuthorizedUrl() {
- this.hasQualifiedName("org.springframework.security.config.annotation.web.configurers",
- "ExpressionUrlAuthorizationConfigurer