The malloc function in the libSystem library in Apple Mac OS X 10.3.9 and 10.4.2 allows local users to overwrite arbitrary files by setting the MallocLogFile environment variable to the target file before running a setuid application.Referenceshttp://www.ciac.org/ciac/bulletins/p-312.shtmlhttp://www.suresec.org/advisories/adv7.pdfhttp://www.auscert.org.au/5509http://lists.apple.com/archives/security-announce/2005/Sep/msg00002.htmlhttp://secunia.com/advisories/16920/