oss-sec mailing list archives

CVE Request -- logwatch: Privilege escalation due improper sanitization of special characters in log file names


From: Jan Lieskovsky <jlieskov () redhat com>
Date: Thu, 24 Feb 2011 20:52:31 +0100

Hello Josh, Steve, vendors,

  a security flaw was found in the way logwatch, a log file
  analysis program, pre-processed log files, containing certain
  special characters in their names. A remote attacker could
  use this flaw to execute arbitrary code with the privileges
  of the privileged system user (root) by creating a
  specially-crafted log file, subsequently analyzed by the
  logwatch script.

  Upstream bug report:
  [1] http://sourceforge.net/tracker/?func=detail&aid=3184223&group_id=312875&atid=1316824

  Related patch:
  [2] http://logwatch.svn.sourceforge.net/viewvc/logwatch?view=revision&revision=26

  Other references:
  [3] http://sourceforge.net/mailarchive/forum.php?thread_name=4D604843.7040303%40mblmail.net&forum_name=logwatch-devel
  [4] https://bugzilla.redhat.com/show_bug.cgi?id=680237

Could you allocate a CVE id for this issue?

Thanks && Regards, Jan.
--
Jan iankko Lieskovsky / Red Hat Security Response Team


Current thread: