Linux Finger Service Disabled - xinetd Misconfiguration

漏洞信息

漏洞名称: Linux Finger Service Disabled - xinetd Misconfiguration

漏洞类型: 配置问题

漏洞等级: 高危

漏洞描述: 受影响的产品是Linux操作系统中的xinetd服务,xinetd是一个超级服务器守护进程,用于管理基于网络的服务的启动。它广泛用于各种Linux发行版中,作为管理网络服务的工具。此漏洞涉及xinetd配置中的Finger服务未正确禁用的问题。Finger服务如果启用,可能会向未经授权的用户暴露用户信息,从而可能导致基于密码的攻击。漏洞的技术根源在于/etc/xinetd.d/finger文件中的’disable’指令未设置为’yes’,导致Finger服务可能被启用。这种配置问题属于信息泄露类型,可能导致敏感用户信息被未授权访问。由于Finger服务可以提供用户登录名、真实姓名、终端名、空闲时间、登录时间、办公地点等信息,攻击者可以利用这些信息进行进一步的攻击,如社会工程学攻击或暴力破解。此漏洞的利用不需要认证,且可以通过自动化工具进行检测和利用,因此其潜在的安全风险较高。

产品名称: Linux xinetd

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

id: linux-xinetd-finger-disabled

info:
name: Linux Finger Service Disabled - xinetd Misconfiguration
author: songyaeji
severity: high
description: >
If the Finger service is enabled, it may expose user information to unauthorized users,
leading to potential password-based attacks. This template checks whether the Finger
service is properly disabled by inspecting the 'disable' directive in /etc/xinetd.d/finger.
reference:
- https://isms.kisa.or.kr
- Cloud Vulnerability Assessment Guide(2024) by KISA
tags: linux,finger,xinetd,misconfiguration,local
metadata:
os: linux
category: configuration
verified: true
classification:
cvss-metrics: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
cvss-score: 5.5
cwe-id: CWE-200

self-contained: true

code:
- engine:
- bash
source: |
if [ -f /etc/xinetd.d/finger ]; then
disable_status=$(grep -i 'disable' /etc/xinetd.d/finger | grep -v '^#' | awk -F '=' '{print $2}' | xargs)
if [ "$disable_status" = "no" ]; then
echo "[VULNERABLE] Finger service is enabled (disable = no)"
else
echo "[SAFE] Finger service is disabled"
fi
else
echo "[SAFE] /etc/xinetd.d/finger does not exist"
fi

matchers:
- type: word
words:
- "[VULNERABLE] Finger service is enabled"


Linux Finger Service Disabled - xinetd Misconfiguration
http://example.com/2025/07/29/github_2132497145/
作者
lianccc
发布于
2025年7月29日
许可协议