POC exploit for the PHP exec, system, popen file descriptor bug that overwrites Apache's log file.
b21b5612f3dfa05f10f1e95eb766c9a109f1aa1f7878f56b937c1a95c857c4b4
The php functions "exec", "system", "popen" (and similar) keep file descriptors of the parent process opened. When a new process is run this program will inherit all opened file descriptors of its parent. This can be used by hostile programs to listen and accept connections on port 80, or write to the apache log files.
df0886b7417f348dce9959a45e47a889aa6e01dd100f026507d0c694e50c33e3