Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 524
Alerts This Week
Warning Icon 1 524

Ubuntu 11.04: USN-1172-1 Critical: Logrotate Local Code Execution

ubuntu
Calendar Grey July 21, 2011
Scroller Ubuntu
Logrotate flaws in Ubuntu may enable local users to access or alter files. A security update is advised.
An attacker could cause logrotate to run programs, stop working, or read and write arbitrary files.

Summary

An attacker could cause logrotate to run programs, stop working, or read

and write arbitrary files.

Software Description:

- logrotate: Log rotation utility

Details:

It was discovered that logrotate incorrectly handled the creation of new

log files. Local users could possibly read log files if they were opened

before permissions were in place. This issue only affected Ubuntu 8.04 LTS.

(CVE-2011-1098)

It was discovered that logrotate incorrectly handled certain log file

names when used with the shred option. Local attackers able to create log

files with specially crafted filenames could use this issue to execute

arbitrary code. This issue only affected Ubuntu 10.04 LTS, 10.10, and

11.04. (CVE-2011-1154)

It was discovered that logrotate incorrectly handled certain malformed log

filenames. Local attackers able to create log files with specially crafted

filenames could use this issue to cause logrotate to stop processing log

files, resulting in a denial of se...

Read the Full Advisory

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 11.04:
  logrotate                       3.7.8-6ubuntu3.1

Ubuntu 10.10:
  logrotate                       3.7.8-6ubuntu1.1

Ubuntu 10.04 LTS:
  logrotate                       3.7.8-4ubuntu2.2

Ubuntu 8.04 LTS:
  logrotate                       3.7.1-3ubuntu0.8.04.1

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-1172-1

CVE-2011-1098, CVE-2011-1154, CVE-2011-1155, CVE-2011-1548

Severity
critical
Lowest
Low
Medium
High
Critical

July 21, 2011

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.