Description
The logrotation script (/etc/cron.daily/upstart) in the Ubuntu Upstart package before 1.13.2-0ubuntu9, as used in Ubuntu Vivid 15.04, allows local users to execute arbitrary commands and gain privileges via a crafted file in /run/user/*/upstart/sessions/.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Ubuntu 15.04 (Development) - 'Upstart' Logrotation Privilege Escalation EDB-41765 · local · Mar 12, 2015
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/1425685
- 20150302 upstart logrotate privilege escalation in Ubuntu Vivid (development) mailing-list
- http://www.halfdog.net/Security/2015/UpstartLogrotationPrivilegeEscalation/
- http://packetstormsecurity.com/files/130587/Ubuntu-Vivid-Upstart-Privilege-Escalation.html