CWE-403Exposure of File Descriptor to Unintended Control Sphere ('File Descriptor Leak')

PUBLISHEDweakness record
released 2006-07-19 · last modified 2025-12-11

Metadata

CWE ID:
CWE-403
摘要:
Base
结构:
Simple
状态:
Draft
发布日期:
2006-07-19
更新日期:
2025-12-11

名称

Exposure of File Descriptor to Unintended Control Sphere ('File Descriptor Leak')

描述

A process does not close sensitive file descriptors before invoking a child process, which allows the child to perform unauthorized I/O operations using those descriptors.

When a new process is forked or executed, the child process inherits any open file descriptors. When the child process has fewer privileges than the parent process, this might introduce a vulnerability if the child process can access the file descriptor but does not have the privileges to access the associated file.

常见后果

范围:
Confidentiality, Integrity
影响:
Read Application Data, Modify Application Data

相关 CWE