LinuxSecurity.com
Share your story
The central voice for Linux and Open Source security news
Home News Topics Advisories HOWTOs Features Newsletters About Register

Welcome!
Sign up!
EnGarde Community
Login
Polls
What is the most important Linux security technology?
 
Advisories
Community
Linux Events
Linux User Groups
Link to Us
Security Center
Book Reviews
Security Dictionary
Security Tips
SELinux
White Papers
Featured Blogs
All About Linux
DanWalsh LiveJournal
Securitydistro
Latest Newsletters
Linux Advisory Watch: October 24th, 2014
Linux Security Week: October 20th, 2014
Subscribe
LinuxSecurity Newsletters
E-mail:
Choose Lists:
About our Newsletters
RSS Feeds
Get the LinuxSecurity news you want faster with RSS
Powered By

  
RedHat: 'DocBook' Insecure access vulnerability Print E-mail
User Rating:      How can I rate this item?
Posted by LinuxSecurity.com Team   
RedHat Linux The default stylesheet used when converting a DocBook document tomultiple HTML files allows an untrusted document to write filesoutside of the current directory.

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

Synopsis:          Insecure DocBook stylesheet option
Advisory ID:       RHSA-2002:062-08
Issue date:        2002-04-11
Updated on:        2002-04-26
Product:           Red Hat Linux
Keywords:          docbook stylesheet
Cross references:  RHSA-2002:061
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

DocBook is a document markup language that can be transformed into
other formats using a stylesheet.  The default stylesheet provided
with Red Hat Linux has an insecure option enabled.

2. Relevant releases/architectures:

Red Hat Linux 6.2 - noarch

Red Hat Linux 7.0 - noarch

Red Hat Linux 7.1 - noarch

Red Hat Linux 7.2 - noarch

3. Problem description:

The default stylesheet used when converting a DocBook document to
multiple HTML files allows an untrusted document to write files
outside of the current directory. This is because element
identifiers (specified in the document) are used to form the names of
the output files.  If an untrusted document uses a full pathname as an
identifier, it can cause that file to be written to -- as long as the
user performing the conversion has write access.

Updated docbook-utils packages are available that disable this
feature and enable filenames to be generated based on the type
of the element rather than its identifier.

The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the name CAN-2002-0169 to this issue.

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.Red Hat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 6.2:

SRPMS: 
ftp://updates.Red Hat.com/6.2/en/os/SRPMS/stylesheets-1.54.13rh-1.1.src.rpm

noarch: 
ftp://updates.Red Hat.com/6.2/en/os/noarch/stylesheets-1.54.13rh-1.1.noarch.rpm

Red Hat Linux 7.0:

SRPMS: 
ftp://updates.Red Hat.com/7.0/en/os/SRPMS/stylesheets-1.54.13rh-5.1.src.rpm

noarch: 
ftp://updates.Red Hat.com/7.0/en/os/noarch/stylesheets-1.54.13rh-5.1.noarch.rpm

Red Hat Linux 7.1:

SRPMS: 
ftp://updates.Red Hat.com/7.1/en/os/SRPMS/docbook-utils-0.6-13.2.src.rpm

noarch: 
ftp://updates.Red Hat.com/7.1/en/os/noarch/docbook-utils-0.6-13.2.noarch.rpm 
ftp://updates.Red Hat.com/7.1/en/os/noarch/docbook-utils-pdf-0.6-13.2.noarch.rpm

Red Hat Linux 7.2:

SRPMS: 
ftp://updates.Red Hat.com/7.2/en/os/SRPMS/docbook-utils-0.6.9-2.1.src.rpm

noarch: 
ftp://updates.Red Hat.com/7.2/en/os/noarch/docbook-utils-0.6.9-2.1.noarch.rpm 
ftp://updates.Red Hat.com/7.2/en/os/noarch/docbook-utils-pdf-0.6.9-2.1.noarch.rpm



7. Verification:

MD5 sum                          Package Name
--------------------------------------------------------------------------
263e520f94a1685cef9f1e4cafc8e485 6.2/en/os/SRPMS/stylesheets-1.54.13rh-1.1.src.rpm
7065d23d1f0c1f7e9903d642f45e2b14 6.2/en/os/noarch/stylesheets-1.54.13rh-1.1.noarch.rpm
5147e48a9799d6c4be9e61986628cc9a 7.0/en/os/SRPMS/stylesheets-1.54.13rh-5.1.src.rpm
e1ce94d77e1bb5dbfda409b6f53f9858 7.0/en/os/noarch/stylesheets-1.54.13rh-5.1.noarch.rpm
faa79f4d0d834fb4ddb5a82ec9d2ad64 7.1/en/os/SRPMS/docbook-utils-0.6-13.2.src.rpm
affe6a01d519aedbf1f25783650e9e2a 7.1/en/os/noarch/docbook-utils-0.6-13.2.noarch.rpm
e56145c2247e7cc05f3dddba079db3cd 7.1/en/os/noarch/docbook-utils-pdf-0.6-13.2.noarch.rpm
1d68f5de2052550307fbb3182f751915 7.2/en/os/SRPMS/docbook-utils-0.6.9-2.1.src.rpm
e6b43a27e4712ee6a91871605092acab 7.2/en/os/noarch/docbook-utils-0.6.9-2.1.noarch.rpm
a45e3dddc9f3269c3db77bd153697df3 7.2/en/os/noarch/docbook-utils-pdf-0.6.9-2.1.noarch.rpm
 

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

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

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 

8. References:
 
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0169


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


 
< Prev   Next >
    
Partner

 

Latest Features
Peter Smith Releases Linux Network Security Online
Securing a Linux Web Server
Password guessing with Medusa 2.0
Password guessing as an attack vector
Squid and Digest Authentication
Squid and Basic Authentication
Demystifying the Chinese Hacking Industry: Earning 6 Million a Night
Free Online security course (LearnSIA) - A Call for Help
What You Need to Know About Linux Rootkits
Review: A Practical Guide to Fedora and Red Hat Enterprise Linux - Fifth Edition
Yesterday's Edition
Disaster as CryptoWall encrypts US firm's entire server installation
Now Everyone Wants to Sell You a Magical Anonymity Router. Choose Wisely
Partner Sponsor

Community | HOWTOs | Blogs | Features | Book Reviews | Networking
 Security Projects |  Latest News |  Newsletters |  SELinux |  Privacy |  Home
 Hardening |   About Us |   Advertise |   Legal Notice |   RSS |   Guardian Digital
(c)Copyright 2014 Guardian Digital, Inc. All rights reserved.