Multiple Vendor BSD make /tmp Race...

- AV AC AU C I A
发布: 2000-01-19
修订: 2025-04-13

There is an exploitable race condition in BSD derived versions of make. The problem lies in the way that make communicates with its children processes when passed the -j parameter. "make" does so by writing shell commands to temporary files in /tmp, which the children process read (and then execute..). In the process of doing this, "make" creates and resuses temporary files several times with known filenames. If the file name being used were to be observed by an attacker, it is possible to write arbitrary commands to these files immediately after legitimate ones, then have them executed by the child processes if the race is won.

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