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.
Classification
Location:
Local Access Required
Attack Type:
Race Condition
Impact:
Loss of Integrity
Solution:
Upgrade
Exploit:
Exploit Private
Disclosure:
RBS Confirmed,
Vendor Verified,
Coordinated Disclosure
Solution
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.