Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA42559

logrotate Multiple Security Issues
Secunia Advisory SA42559
Secunia VIM 4.0 - Free Trial
Release Date 2010-12-22
Last Update 2011-07-22
   
Popularity 1,932 view
Comments 0 comments

Criticality level Not criticalNot critical
Impact Exposure of sensitive information
Privilege escalation
DoS
Where Local system
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Workaround
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
Logrotate 3.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2011-1098 CVSS score available to Secunia VIM customers
CVE-2011-1154 CVSS score available to Secunia VIM customers
CVE-2011-1155 CVSS score available to Secunia VIM customers
CVE-2011-1548 CVSS score available to Secunia VIM customers
  

Description

Some security issues have been reported in logrotate, which can be exploited by malicious, local users to disclose potentially sensitive information, cause a DoS (Denial of Service), and potentially gain escalated privileges.

1) The logrotate utility does not properly handle symlinked files. This can be exploited to e.g. change the ownership and permissions of arbitrary files via symlink attacks.

2) An error within the "shred" functionality can be exploited to inject and execute arbitrary shell commands when logrotate is running as a privileged user in a directory controlled by the attacker.

3) A race condition when creating log files can be exploited to disclose potentially sensitive information by opening the newly created file before the intended permissions are applied.

4) An input sanitation error within the "write state" action can be exploited to prevent logrotate from processing log files via specially crafted log filenames.


Solution
Fixed in the GIT repository. Restrict access to trusted users only.

Provided and/or discovered by
Florian Zumbiehl and Stefan Fritsch

Changelog
Further details available to Secunia VIM customers

Original Advisory
http://lists.debian.org/debian-qa/2010/11/msg00024.html

Debian Bug #388608:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=388608

Red Hat Bugs #680796, 680797, and #680798:
https://bugzilla.redhat.com/show_bug.cgi?id=680796
https://bugzilla.redhat.com/show_bug.cgi?id=680797
https://bugzilla.redhat.com/show_bug.cgi?id=680798

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: logrotate Multiple Security Issues
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability