The MOTD update script in the base-files package in Ubuntu 18.04 LTS before 10.1ubuntu2.2, and Ubuntu 18.10 before 10.1ubuntu6 incorrectly handled temporary files. A local attacker could use this issue to cause a denial of service, or possibly escalate privileges if kernel symlink restrictions were disabled.
The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Link | Tags |
---|---|
https://usn.ubuntu.com/3748-1/ | vendor advisory |
http://www.securitytracker.com/id/1041530 | broken link third party advisory vdb entry |
http://www.securityfocus.com/bid/105148 | third party advisory vdb entry |