Mkdir Buffer Overflow Vulnerability...

- AV AC AU C I A
发布: 2004-06-02
修订: 2025-04-13

It is reported that mkdir is susceptible to a buffer overflow vulnerability. An attacker with local access passes a long path to mkdir, which overflows a fixed buffer. Mkdir is installed setuid root by default, as the mknod() system call can only be called by root. There is no mkdir() system call, so the mkdir command must use mknod to create a directory node, then populate the node with "." and ".." itself. A local attacker can exploit this issue to execute arbitrary code as root.

0%
暂无可用Exp或PoC
当前有0条受影响产品信息