SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Webalizer Vendors:   Barrett, Bradford L.
(Red Hat Issues Fix for Red Hat 7.2) Webalizer Log File Analyzer Cross-Site Scripting Hole Allows Remote Users to Cause Arbitrary But Trusted Code to Be Executed By Another User When Viewing Webalizer Reports
SecurityTracker Alert ID:  1002658
SecurityTracker URL:  http://securitytracker.com/id/1002658
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Oct 30 2001
Impact:   Disclosure of authentication information, Disclosure of system information, Disclosure of user information, Execution of arbitrary code via network
Fix Available:  Yes  Vendor Confirmed:  Yes  
Version(s): 2.01-06; possibly earlier versions (which were not tested)
Description:   A cross-site scripting vulnerability was reported in The Webalizer, a web server log file analysis package. A remote user could cause scripts to be executed on another user's host in certain situations.

Two vulnerabilities were reported that may allow a remote user to cause scripts to be executed on the browser of a user viewing the HTML reports. The scripts will appear to originate from the Webalizer server. A remote user can inject HTML tags into Webalizer reports such that when another user views the compromised report, the tag will be processed.

It is reported that The Webalizer does not filter data returned by the operating system resolver library when performing a reverse address resolution. A remote user that has control over a DNS reverse address mapping zone can create an address with a PTR record pointing to a name containing HTML tags. Then, the remote user can access a web server that uses Webalizer for log file analysis. When the Webalizer program is subsequently run, the address of the web server access will resolve to a name containing the HTML tags, which will be inserted into the HTML reports without filtering. This exploit is apparently difficult to execute, as most modern resolver libraries apparently refuse to return host names containing HTML meta-characters.

It is reported that a remote user can send an HTTP "Referrer" header containing HTML meta-characters to a web server. When the Webalizer compares the referred URLs to a list of search engine URLs, the keywords used by the apparent search engine are extracted and stored without filtering in the HTML files on the server.

Impact:   A remote user can cause arbitrary scripts to be executed on the browser of a user viewing Webalizer reports. The code will appear to come from the presumably trusted Webalizer reports server. The code may access cookies and other user information.
Solution:   The vendor has released a fix for Red Hat Linux 7.2. The fix for other versions of Red Hat Linux will be posted in a separate message.

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/webalizer-2.01_09-0.72.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/webalizer-2.01_09-0.72.i386.rpm

The verification checksums are:

MD5 sum Package Name
--------------------------------------------------------------------------
ae4cf0d948b2526d6196956f4adf5641 7.2/en/os/SRPMS/webalizer-2.01_09-0.72.src.rpm
acb7f56a58f8e1fc7f99572f9290f29b 7.2/en/os/i386/webalizer-2.01_09-0.72.i386.rpm

See the Source Message for the vendor's advisory containing directions on how to apply the appropriate fix.

Vendor URL:  www.mrunix.net/webalizer/ (Links to External Site)
Cause:   Input validation error
Underlying OS:  Linux (Red Hat Linux)

Message History:   This archive entry is a follow-up to the message listed below.
Oct 25 2001 Webalizer Log File Analyzer Cross-Site Scripting Hole Allows Remote Users to Cause Arbitrary But Trusted Code to Be Executed By Another User When Viewing Webalizer Reports



 Source Message Contents

Subject:  [RHSA-2001:140-05] Updated webalizer package available


---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Security Advisory

Synopsis:          Updated webalizer package available
Advisory ID:       RHSA-2001:140-05
Issue date:        2001-10-24
Updated on:        2001-10-30
Product:           Red Hat Linux
Keywords:          webalizer cross-site scripting malicious html security update
Cross references:  http://www.mrunix.net/webalizer/news.html
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

These updated webalizer package fixes a security problem and some minor bugs.

2. Relevant releases/architectures:

Red Hat Linux 7.2 - i386

3. Problem description:

A bug in versions of webalizer prior to 2.01_09 allowed users to embed 
malicious HTML tags in reports generated by webalizer.

4. Solution:

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which are
not installed but included in the list will not be updated.  Note that you
can also use wildcards (*.rpm) if your current directory *only* contains
the desired RPMs.

Please note that this update is also available via Red Hat Network.  Many
people find this an easier way to apply updates.  To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 7.2:

SRPMS:
ftp://updates.redhat.com/7.2/en/os/SRPMS/webalizer-2.01_09-0.72.src.rpm

i386:
ftp://updates.redhat.com/7.2/en/os/i386/webalizer-2.01_09-0.72.i386.rpm



7. Verification:

MD5 sum                           Package Name
--------------------------------------------------------------------------
ae4cf0d948b2526d6196956f4adf5641 7.2/en/os/SRPMS/webalizer-2.01_09-0.72.src.rpm
acb7f56a58f8e1fc7f99572f9290f29b 7.2/en/os/i386/webalizer-2.01_09-0.72.i386.rpm

These packages are GPG signed by Red Hat, Inc. for security.  Our key
is available at:
    http://www.redhat.com/about/contact/pgpkey.html

You can verify each package with the following command:
    rpm --checksig  <filename>

If you only wish to verify that each package has not been corrupted or
tampered with, examine only the md5sum with the following command:
    rpm --checksig --nogpg <filename>

8. References:




Copyright(c) 2000, 2001 Red Hat, Inc.



_______________________________________________
Linux-security mailing list
Linux-security@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-security

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, SecurityGlobal.net LLC