Bug 902853 - webalizer: stack-based buffer overflow by importing cache from tab file
Summary: webalizer: stack-based buffer overflow by importing cache from tab file
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1099872
Blocks: 902874
TreeView+ depends on / blocked
 
Reported: 2013-01-22 14:30 UTC by Jan Lieskovsky
Modified: 2019-09-29 12:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:59:58 UTC
Embargoed:


Attachments (Terms of Use)

Description Jan Lieskovsky 2013-01-22 14:30:52 UTC
A stack-based buffer overflow flaw was found in the way Webalizer, a flexible web server log file analysis program, performed import of its cache from certain tab files. A remote attacker could provide a specially-crafted tab file that, when imported would lead to wcmgr executable crash or, potentially, arbitrary code execution with the privileges of the user running the wcmgr binary.

Comment 1 Jan Lieskovsky 2013-01-22 14:33:27 UTC
This issue was discovered by Murray McAllister of Red Hat Security Response Team.

Comment 2 Jan Lieskovsky 2013-01-22 14:36:19 UTC
This issue did NOT affect the version of the webalizer package, as shipped with Red Hat Enterprise Linux 5.

--

This issue affects the version of the webalizer package, as shipped with Red Hat Enterprise Linux 6.

--

This issue affects the version of the webalizer package, as shipped with Fedora release of 16, 17, and 18.

Comment 5 Tomas Hoger 2014-05-21 11:48:27 UTC
This was fixed upstream in between webalizer-2.23-05 and webalizer-2.23-08, where relevant sscanf now is:

  i = sscanf(buffer,"%47s\t%lu\t%d\t%" SMAXHOST "s",

Comment 6 Tomas Hoger 2014-05-21 11:49:06 UTC
Created webalizer tracking bugs for this issue:

Affects: fedora-all [bug 1099872]

Comment 7 Fedora Update System 2014-09-09 22:15:23 UTC
webalizer-2.23_08-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.