Description
A certain Ubuntu build procedure for perf, as distributed in the Linux kernel packages in Ubuntu 10.04 LTS, 12.04 LTS, 12.10, 13.04, and 13.10, sets the HOME environment variable to the ~buildd directory and consequently reads the system configuration file from the ~buildd directory, which allows local users to gain privileges by leveraging control over the buildd account.
References
- USN-1943-1 vendor-advisory
- USN-1938-1 vendor-advisory
- USN-1944-1 vendor-advisory
- USN-1945-1 vendor-advisory
- https://launchpad.net/bugs/1206200
- [kernel-team] 20130731 [CVE-2013-1060] perf configuration file vunerability mailing-list
- USN-1939-1 vendor-advisory
- [kernel-team] 20130731 [lucid CVE 1/1] UBUNTU: [Packaging] supply perf with appropriate prefix to ensure use of local config mailing-list
- USN-1947-1 vendor-advisory
- http://people.canonical.com/~ubuntu-security/cve/2013/CVE-2013-1060.html
- USN-1941-1 vendor-advisory
- USN-1942-1 vendor-advisory
- USN-1946-1 vendor-advisory