Spring Boot Information Panel - Detect

漏洞信息

漏洞名称: Spring Boot Information Panel - Detect

漏洞类型: 信息泄露

漏洞等级: 低危

漏洞描述: Spring Boot是一个广泛使用的Java框架,用于创建独立的、生产级的基于Spring的应用程序。它简化了Spring应用的初始搭建和开发过程,支持快速开发。Spring Boot的信息面板(info endpoint)通常用于展示应用程序的名称、版本信息以及其他配置值,这些信息对于开发和运维人员来说是很有用的。然而,如果这些端点未被适当保护,可能会导致敏感信息泄露。

该漏洞属于信息泄露类型,其技术根源在于Spring Boot的默认配置中,信息端点(如/info或/actuator/info)可能被公开访问,而无需任何认证。这意味着攻击者可以通过简单的HTTP GET请求访问这些端点,从而获取应用程序的详细信息,包括但不限于Java版本、操作系统信息、运行时环境等。

尽管该漏洞的CVSS评分为0,表明其直接危害性较低,但泄露的信息可能被攻击者用于进一步的攻击,例如利用已知的漏洞针对特定版本的软件进行攻击。此外,如果应用程序中配置了敏感信息(如内部IP地址、数据库连接字符串等),这些信息也可能通过信息端点被泄露,从而增加安全风险。因此,建议对Spring Boot的信息端点进行适当的访问控制,避免敏感信息的泄露。

产品名称: Spring Boot

来源: https://github.com/projectdiscovery/nuclei-templates/blob/78a258ba78fd91d980b8679156f97833ce5042e2/http%2Fmisconfiguration%2Fspringboot%2Fspringboot-info.yaml

类型: projectdiscovery/nuclei-templates:github issues

POC详情

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54

id: springboot-info

info:
name: Spring Boot Information Panel - Detect
author: philippedelteil,tess,TheZakMan
severity: info
description: Spring Boot information panel displaying app name, version information, and other values was detected.
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cvss-score: 0
cwe-id: CWE-200
metadata:
max-request: 2
tags: springboot,misconfig

http:
- method: GET
path:
- "{{BaseURL}}/info"
- "{{BaseURL}}/actuator/info"
- "{{BaseURL}}/management"
- "{{BaseURL}}/management/info"

stop-at-first-match: true

matchers-condition: and
matchers:
- type: status
status:
- 200

- type: dsl
dsl:
- "contains(tolower(content_type), 'application/json') || contains(tolower(content_type), 'application/vnd.spring-boot')"

- type: word
part: body
words:
- '"java"'
- '"version"'
condition: and

- type: word
part: body
words:
- '"os"'
- '"runtime"'
- '"jvm"'
- '"build"'
- '"vendor"'
condition: or



Spring Boot Information Panel - Detect
http://example.com/2025/07/26/github_3163845293/
作者
lianccc
发布于
2025年7月26日
许可协议