CVE-2003-0740 (CNNVD-200310-047)
MEDIUM
有利用代码
中文标题:
Stunnel泄露文件描述符漏洞
英文标题:
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which a...
CVSS分数:
4.6
发布时间:
2003-09-04 04:00:00
漏洞类型:
其他
状态:
PUBLISHED
数据质量分数:
0.40
数据版本:
v4
漏洞描述
中文描述:
Stunnel是比利时软件开发者Michal Trojnara所研发的一套用于提供全局的TLS/SSL服务的跨平台软件。该软件可对本身无法进行TLS或SSL通信的客户端及服务器提供安全的加密连接。 Stunnel存在文件描述符泄露问题,本地攻击者可以利用这个漏洞劫持Stunnel服务程序,可导致未授权连接加密通信等攻击。 问题是由于没有使用CLOEXEC标记的fcntl调用来防止特权文件描述符泄露,通过listen()调用返回的文件描述符可被非特权进程使用。如果Stunnel可被用于通过任何本地程序如telnet等提供SHELL访问,那么用户的SHELL也会拥有被泄露的listen描述符,这表示任何N能通过SHELL访问的用户可以劫持stunnel服务程序。结果可导致非特权攻击者利用这个漏洞控制这个服务,收集密码等敏感信息,或者重定向服务到不同机器中。 另外其他文件描述符也存在这个问题。
英文描述:
Stunnel 4.00, and 3.24 and earlier, leaks a privileged file descriptor returned by listen(), which allows local users to hijack the Stunnel server.
CWE类型:
(暂无数据)
标签:
local
linux
Steve Grubb
OSVDB-6451
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| stunnel | stunnel | 3.3 | - | - |
cpe:2.3:a:stunnel:stunnel:3.3:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.4a | - | - |
cpe:2.3:a:stunnel:stunnel:3.4a:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.7 | - | - |
cpe:2.3:a:stunnel:stunnel:3.7:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.8 | - | - |
cpe:2.3:a:stunnel:stunnel:3.8:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.9 | - | - |
cpe:2.3:a:stunnel:stunnel:3.9:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.10 | - | - |
cpe:2.3:a:stunnel:stunnel:3.10:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.11 | - | - |
cpe:2.3:a:stunnel:stunnel:3.11:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.12 | - | - |
cpe:2.3:a:stunnel:stunnel:3.12:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.13 | - | - |
cpe:2.3:a:stunnel:stunnel:3.13:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.14 | - | - |
cpe:2.3:a:stunnel:stunnel:3.14:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.15 | - | - |
cpe:2.3:a:stunnel:stunnel:3.15:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.16 | - | - |
cpe:2.3:a:stunnel:stunnel:3.16:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.17 | - | - |
cpe:2.3:a:stunnel:stunnel:3.17:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.18 | - | - |
cpe:2.3:a:stunnel:stunnel:3.18:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.19 | - | - |
cpe:2.3:a:stunnel:stunnel:3.19:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.20 | - | - |
cpe:2.3:a:stunnel:stunnel:3.20:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.21 | - | - |
cpe:2.3:a:stunnel:stunnel:3.21:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.21a | - | - |
cpe:2.3:a:stunnel:stunnel:3.21a:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.21b | - | - |
cpe:2.3:a:stunnel:stunnel:3.21b:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.21c | - | - |
cpe:2.3:a:stunnel:stunnel:3.21c:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.22 | - | - |
cpe:2.3:a:stunnel:stunnel:3.22:*:*:*:*:*:*:*
|
| stunnel | stunnel | 3.24 | - | - |
cpe:2.3:a:stunnel:stunnel:3.24:*:*:*:*:*:*:*
|
| stunnel | stunnel | 4.0 | - | - |
cpe:2.3:a:stunnel:stunnel:4.0:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
20030903 Stunnel-3.x Daemon Hijacking
mailing-list
cve.org
访问
cve.org
CLA-2003:736
vendor-advisory
cve.org
访问
cve.org
MDKSA-2003:108
vendor-advisory
cve.org
访问
cve.org
RHSA-2003:297
vendor-advisory
cve.org
访问
cve.org
ExploitDB EDB-91
EXPLOIT
exploitdb
访问
exploitdb
Download Exploit EDB-91
EXPLOIT
exploitdb
访问
exploitdb
CVE Reference: CVE-2003-0740
ADVISORY
cve.org
访问
cve.org
CVSS评分详情
4.6
MEDIUM
CVSS向量:
AV:L/AC:L/Au:N/C:P/I:P/A:P
CVSS版本:
2.0
机密性
PARTIAL
完整性
PARTIAL
可用性
PARTIAL
时间信息
发布时间:
2003-09-04 04:00:00
修改时间:
2024-08-08 02:05:12
创建时间:
2025-11-11 15:32:19
更新时间:
2026-01-26 02:18:33
利用信息
此漏洞有可利用代码!
利用代码数量:
1
利用来源:
未知
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2003-0740 |
2025-11-11 15:17:27 | 2025-11-11 07:32:19 |
| NVD | nvd_CVE-2003-0740 |
2025-11-11 14:50:37 | 2025-11-11 07:41:05 |
| CNNVD | cnnvd_CNNVD-200310-047 |
2025-11-11 15:08:43 | 2025-11-11 07:48:52 |
| EXPLOITDB | exploitdb_EDB-91 |
2025-11-11 15:05:25 | 2025-11-11 09:06:06 |
版本与语言
当前版本:
v4
主要语言:
EN
支持语言:
EN
ZH
其他标识符:
:
:
安全公告
暂无安全公告信息
变更历史
v4
EXPLOITDB
2025-11-11 17:06:06
references_count: 4 → 7; tags_count: 0 → 4; data_sources: ['cnnvd', 'cve', 'nvd'] → ['cnnvd', 'cve', 'exploitdb', 'nvd']
查看详细变更
- references_count: 4 -> 7
- tags_count: 0 -> 4
- data_sources: ['cnnvd', 'cve', 'nvd'] -> ['cnnvd', 'cve', 'exploitdb', 'nvd']
v3
CNNVD
2025-11-11 15:48:52
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-200310-047; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-200310-047
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2
NVD
2025-11-11 15:41:05
cvss_score: 未提取 → 4.6; cvss_vector: NOT_EXTRACTED → AV:L/AC:L/Au:N/C:P/I:P/A:P; cvss_version: NOT_EXTRACTED → 2.0; affected_products_count: 0 → 23; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
- cvss_score: 未提取 -> 4.6
- cvss_vector: NOT_EXTRACTED -> AV:L/AC:L/Au:N/C:P/I:P/A:P
- cvss_version: NOT_EXTRACTED -> 2.0
- affected_products_count: 0 -> 23
- data_sources: ['cve'] -> ['cve', 'nvd']