[原文]The internal_dump function in Mathopd before 1.5p5, and 1.6x before 1.6b6 BETA, when Mathopd is running with the -n option, allows local users to overwrite arbitrary files via a symlink attack on dump files that are triggered by a SIGWINCH signal.
Mathopd contains a flaw that may allow a malicious local user to append content to arbitrary files on the system. The issue is due to the internal_dump() function (dump.c) creating temporary files insecurely when a SIGWINCH signal is caught. It is possible for a local attacker to use a symlink attack to cause the program to unexpectedly append dump data to an attacker specified file.
Upgrade to version 1.5p5, 1.6b6 or higher, as it has been reported to fix this vulnerability. An upgrade is required as there are no known workarounds.