Linux DoS Vulnerable Services Disabled

漏洞信息

漏洞名称: Linux DoS Vulnerable Services Disabled

漏洞类型: 配置问题

漏洞等级: 高危

漏洞描述: 该漏洞涉及Linux系统中一些遗留服务(如echo、discard、daytime、chargen)的不当配置问题。这些服务如果被启用,攻击者可以利用它们来提取系统信息或发起拒绝服务(DoS)攻击。这些服务在现代系统中通常不再需要,因此如果没有明确需求,应当禁用它们。

受影响产品: Linux操作系统,特别是在使用xinetd服务管理器的系统中。Linux作为一种广泛使用的操作系统,其安全性对整个IT基础设施至关重要。这些遗留服务在默认情况下可能未被禁用,尤其是在一些旧系统或特定配置的系统中。

漏洞解释: 此漏洞属于配置问题,具体表现为不必要的高风险服务被启用。这些服务(echo、discard、daytime、chargen)由于设计上的简单性,容易被滥用进行DoS攻击或信息泄露。漏洞的技术根源在于系统管理员未能正确配置xinetd服务管理器,导致这些高风险服务未被禁用。

影响分析: 攻击者可以利用这些服务发起DoS攻击,导致系统资源耗尽,服务不可用。此外,这些服务可能被用来泄露系统信息,为更复杂的攻击提供便利。由于这些服务通常不需要认证,攻击者可以轻易地利用它们进行自动化攻击。因此,及时禁用这些不必要的服务是防止此类攻击的关键措施。

产品名称: Linux

来源: https://github.com/projectdiscovery/nuclei-templates/blob/1dc5e4c5a7e3689548a72d7cb2a00b803fccc824/misconfiguration%2Flinux%2Flinux-dos-vulnerable-services-disabled.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

id: linux-dos-vulnerable-services-disabled

info:
name: DoS Vulnerable Services Disabled (echo, discard, daytime, chargen)
author: songyaeji
severity: high
description: >
If services such as echo, discard, daytime, and chargen are enabled on the system,
attackers may exploit them to extract system information or launch denial-of-service (DoS) attacks.
These legacy services should be disabled if not explicitly required.
reference:
- https://isms.kisa.or.kr
- Cloud Vulnerability Assessment Guide(2024) by KISA
tags: linux,misconfiguration,xinetd,DoS,legacy
metadata:
verified: true
os: linux
max-request: 1
classification:
cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
cvss-score: 5.5
cwe-id: CWE-284

self-contained: true

code:
- engine:
- bash
source: |
vulnerable=""
for svc in echo discard daytime chargen; do
if grep -iq 'disable[[:space:]]*=[[:space:]]*no' "/etc/xinetd.d/$svc" 2>/dev/null; then
echo "[VULNERABLE] $svc service is enabled in /etc/xinetd.d/$svc"
vulnerable="yes"
fi
done

if [ -z "$vulnerable" ]; then
echo "[SAFE] All DoS-related services are properly disabled"
fi
matchers:
- type: word
part: code_1_response
words:
- "[VULNERABLE]"


Linux DoS Vulnerable Services Disabled
http://example.com/2025/07/29/github_627856106/
作者
lianccc
发布于
2025年7月29日
许可协议