openexec in OpenBase SQL before 10.0.1 allows local users to create arbitrary files via a symlink attack on the /tmp/output file, a different vulnerability than CVE-2006-5328.
https://www.exploit-db.com/exploits/2737
http://www.vupen.com/english/advisories/2006/4404