-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

               ESB-2005.0207 -- Sun Alert Notification 57737
       Security Vulnerabilities in Solaris AnswerBook2 Documentation
                               9 March 2005

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Answerbook2 versions 1.4.4 and prior
Publisher:         Sun Microsystems
Operating System:  Solaris 8 and prior 
Impact:            Cross-site Scripting
Access:            Remote/Unauthenticated
CVE Names:         CAN-2005-0549 CAN-2005-0548

Original Bulletin: http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57737-1

- --------------------------BEGIN INCLUDED TEXT--------------------


   Sun(sm) Alert Notification 
     * Sun Alert ID: 57737
     * Synopsis: Security Vulnerabilities in Solaris AnswerBook2
       Documentation
     * Category: Security
     * Product: Answerbook2
     * BugIDs: 6228248, 6228257
     * Avoidance: Workaround
     * State: Resolved
     * Date Released: 07-Mar-2005
     * Date Closed: 07-Mar-2005
     * Date Modified:

   1. Impact Two vulnerabilities have been discovered in the AnswerBook2
   Server related to malicious HTML tags.

   1. The AnswerBook2 Search function dynamically generates web pages
   which may allow the execution of scripts or present malicious HTML to
   a user. Users may unintentionally execute scripts in their browser
   written by a remote unprivileged user if they follow untrusted
   links/URIs in web pages, mail messages, or newsgroup postings which
   link to AnswerBook2 search results. By following these untrusted
   links/URIs, the remote attacker may be able to execute commands with
   the privileges of the user who accessed the link/URI.

   2. The "View Log Files" function in the AnswerBook2 browser-based
   admin interface (GUI) may be vulnerable to cross-site scripting
   attacks. Due to this vulnerability, the AnswerBook2 administrator
   accessing the "View Log Files" functionality may unintentionally
   execute scripts written by an unprivileged local or remote user. The
   commands executed would run with the privileges of the user utilizing
   the AnswerBook2 browser-based admin GUI, who may be privileged.

   This issue is also described in the following documents:

   [2]http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0548

   [3]http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0549 

   For further information on malicious HTML tags, cross site scripting,
   and web script vulnerabilities, see the following URLs:

   [4]http://www.cert.org/archive/pdf/cross_site_scripting.pdf

   [5]http://www.cert.org/tech_tips/malicious_code_FAQ.html

   [6]http://www.cert.org/advisories/CA-2000-02.html

   Sun acknowledges, with thanks, Thomas Liam Romanis for bringing this
   issue to our attention.

   2. Contributing Factors This issue can occur in the following
   releases:

   SPARC Platform

     * AnswerBook2 Documentation Server versions 1.4.4 or earlier (for
       Solaris 7 and 8)

   x86 Platform

     * AnswerBook2 Documentation Server versions 1.4.4 or earlier (for
       Solaris 7 and 8)

   Notes: 

    1. AnswerBook2 is no longer supported as of Solaris 9, therefore
       Solaris 9 and Solaris 10 are not affected.
    2. The "View Log Files" vulnerability only exists when using the
       AnswerBook2 Admin GUI interface, i.e. the following URL path on an
       AnswerBook2 server:
       [7]http://ab2server.hostname:8888/ab2/@Ab2Admin

   To determine the version of the currently installed AnswerBook2
   Server, the following command can be run:

    $ grep SUNW_PRODVERS /var/sadm/pkg/SUNWab2[rsu]/pkginfo
    /var/sadm/pkg/SUNWab2r/pkginfo:SUNW_PRODVERS=1.4.4
    /var/sadm/pkg/SUNWab2s/pkginfo:SUNW_PRODVERS=1.4.4
    /var/sadm/pkg/SUNWab2u/pkginfo:SUNW_PRODVERS=1.4.4

   3. Symptoms There are no reliable symptoms that would indicate the
   described issues have been exploited.

   Solution Summary [8]Top

   4. Relief/Workaround Sites which have configured AnswerBook2
   Documentation Servers should disable AnswerBook2 and instead refer to
   Sun documentation at the Sun Product Documentation web site
   [9]http://docs.sun.com or view the documentation on the Solaris
   Documentation CD.

   To disable the AnswerBook2 Documentation Server, the following
   commands can be run as "root" user:

    # /usr/lib/ab2/bin/ab2admin -o stop
    # /usr/lib/ab2/bin/ab2admin -o autostart_no

   To avoid the "View Log Files" vulnerability, do not use the
   AnswerBook2 Admin GUI to view the AnswerBook2 log files; the
   ab2admin(1M) command should be used instead, as in the following
   example:

    $ /usr/lib/ab2/bin/ab2admin -o view_access [-m server_name] [-p server_port
]

   5. Resolution Please see the "Relief/Workaround" section for the
   resolution to this issue.

   This Sun Alert notification is being provided to you on an "AS IS"
   basis. This Sun Alert notification may contain information provided by
   third parties. The issues described in this Sun Alert notification may
   or may not impact your system(s). Sun makes no representations,
   warranties, or guarantees as to the information contained herein. ANY
   AND ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION
   WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
   NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. BY ACCESSING THIS DOCUMENT
   YOU ACKNOWLEDGE THAT SUN SHALL IN NO EVENT BE LIABLE FOR ANY DIRECT,
   INDIRECT, INCIDENTAL, PUNITIVE, OR CONSEQUENTIAL DAMAGES THAT ARISE
   OUT OF YOUR USE OR FAILURE TO USE THE INFORMATION CONTAINED HEREIN.
   This Sun Alert notification contains Sun proprietary and confidential
   information. It is being provided to you pursuant to the provisions of
   your agreement to purchase services from Sun, or, if you do not have
   such an agreement, the Sun.com Terms of Use. This Sun Alert
   notification may only be used for the purposes contemplated by these
   agreements.

   Copyright 2000-2005 Sun Microsystems, Inc., 4150 Network Circle, Santa
   Clara, CA 95054 U.S.A. All rights reserved.

References

   1. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57737-1#top
   2. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0548
   3. http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-0549
   4. http://www.cert.org/archive/pdf/cross_site_scripting.pdf
   5. http://www.cert.org/tech_tips/malicious_code_FAQ.html
   6. http://www.cert.org/advisories/CA-2000-02.html
   7. http://ab2server.hostname:8888/ab2/@Ab2Admin
   8. http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-26-57737-1#top
   9. http://docs.sun.com/

- --------------------------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.

NOTE: Third Party Rights
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 follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

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 author's website 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/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

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 member emergencies only.
===========================================================================

-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQCVAwUBQi51Uyh9+71yA2DNAQJVbwP9GDKnpqHfctPXq62U24MV/Ms4jv9z8qdL
+jNmVLZwjcR9Q/VJLCelYUOlu1rvhmzkRy1+7Qfdsv7Xvv7f6JbXTpbM5DLERn8g
8J2MdVn6o0U7PurLxyZdnGslu/p80BqzEc1SGzfs+vj3VCKIiHk+GQhrAG4efMFP
oqQuH6xYgxk=
=9jsq
-----END PGP SIGNATURE-----