Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2002.220 -- RHSA-2002:062-08 Insecure DocBook stylesheet option 9 May 2002 =========================================================================== AusCERT Security Bulletin Summary --------------------------------- Product: DocBook Vendor: Red Hat Operating System: Red Hat Linux 6.2 Red Hat Linux 7.0 Red Hat Linux 7.1 Red Hat Linux 7.2 Impact: Overwrite Arbitrary Files Access Required: Remote - --------------------------BEGIN INCLUDED TEXT-------------------- - --------------------------------------------------------------------- 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.redhat.com/bugzilla for more info): 6. RPMs required: Red Hat Linux 6.2: SRPMS: ftp://updates.redhat.com/6.2/en/os/SRPMS/stylesheets-1.54.13rh-1.1.src.rpm noarch: ftp://updates.redhat.com/6.2/en/os/noarch/stylesheets-1.54.13rh-1.1.noarch.rpm Red Hat Linux 7.0: SRPMS: ftp://updates.redhat.com/7.0/en/os/SRPMS/stylesheets-1.54.13rh-5.1.src.rpm noarch: ftp://updates.redhat.com/7.0/en/os/noarch/stylesheets-1.54.13rh-5.1.noarch.rpm Red Hat Linux 7.1: SRPMS: ftp://updates.redhat.com/7.1/en/os/SRPMS/docbook-utils-0.6-13.2.src.rpm noarch: ftp://updates.redhat.com/7.1/en/os/noarch/docbook-utils-0.6-13.2.noarch.rpm ftp://updates.redhat.com/7.1/en/os/noarch/docbook-utils-pdf-0.6-13.2.noarch.rpm Red Hat Linux 7.2: SRPMS: ftp://updates.redhat.com/7.2/en/os/SRPMS/docbook-utils-0.6.9-2.1.src.rpm noarch: ftp://updates.redhat.com/7.2/en/os/noarch/docbook-utils-0.6.9-2.1.noarch.rpm ftp://updates.redhat.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.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: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2002-0169 Copyright(c) 2000, 2001, 2002 Red Hat, Inc. - --------------------------END INCLUDED TEXT-------------------- You have received this e-mail bulletin as a result of your organisation's registration with AusCERT. The mailing list you are subscribed to is maintained within your organisation, so if you do not wish to continue receiving these bulletins you should contact your local IT manager. If you do not know who that is, please send an email to auscert@auscert.org.au and we will forward your request to the appropriate person. This security bulletin is provided as a service to AusCERT's members. As AusCERT did not write the document quoted above, AusCERT has had no control over its content. The decision to use any or all of this information is the responsibility of each user or organisation, and should be done so in accordance with site policies and procedures. NOTE: This is only the original release of the security bulletin. It may not be updated when updates to the original are made. If downloading at a later date, it is recommended that the bulletin is retrieved directly from the original authors to ensure that the information is still current. Contact information for the authors of the original document is included in the Security Bulletin above. If you have any questions or need further information, please contact them directly. Previous advisories and external security bulletins can be retrieved from: http://www.auscert.org.au/Information/advisories.html If you believe that your system has been compromised, contact AusCERT or your representative in FIRST (Forum of Incident Response and Security Teams). Internet Email: auscert@auscert.org.au Facsimile: (07) 3365 7031 Telephone: (07) 3365 4417 (International: +61 7 3365 4417) AusCERT personnel answer during Queensland business hours which are GMT+10:00 (AEST). On call after hours for emergencies. -----BEGIN PGP SIGNATURE----- Version: 2.6.3i Charset: noconv Comment: ftp://ftp.auscert.org.au/pub/auscert/AUSCERT_PGP.key iQCVAwUBPNpkyih9+71yA2DNAQGbEQP5AcmOgNzfwH0u4kIkrgbyARY0Kri7kFtw +ZFPTDCzuowx9IRebDrs5Rfg/klyeXYhEomnl35rj4aWkgKKiLpD0hFEyricEvQa cjlEKpkXfpcvp7h9JYSTaGmyC2JSIA3kQ+Zug08D7UhBBwflXT12ywJQRI9fBN6f pBhi/idkpaI= =XSsJ -----END PGP SIGNATURE-----