=====================================================================
                                   CERT-Renater

                        Note d'Information No. 2009/VULN173
_____________________________________________________________________

DATE                      : 17/04/2009

HARDWARE PLATFORM(S)      : /

OPERATING SYSTEM(S)       : Systems running BlackBerry Enterprise Server,
                                 BlackBerry® Professional Software.

======================================================================
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB17953
http://www.blackberry.com/btsc/microsites/microsite.do?cmd=displayKC&docType=kc&externalId=KB17969&sliceId=1&docTypeID=DT_SECURITY_1_1
______________________________________________________________________

Cross site scripting vulnerability in the BlackBerry Enterprise Server
MDS Connection Service

Doc ID : KB17969
Last Modified : 04-16-2009
Document Type : Security Advisory


Environment

    * BlackBerry® Enterprise Server software version 4.1.6 MR4 and earlier



Overview

This advisory describes a security issue whereby the MDS Connection
Service of the BlackBerry Enterprise Server is susceptible to a
potential cross site scripting vulnerability. The issue relates to
the handling of malformed URLs.

Issue Severity: This vulnerability has a Common Vulnerability Scoring
System (CVSS) score of 3.5.

Issue Status: Vulnerability confirmed. Software containing security
update released.

Recommendation: Complete the resolution actions documented in this
advisory.


References:

Reference
	
Value
CVE® Identifier 	CVE-2009-0307


Acknowledgements

RIM thanks Ken Millar of Sensient Technologies Corporation, Michael
Thumann of ERNW, and Martin O'Neal and Stephen de Vries of Corsaire
for independently reporting this issue to RIM, and working with RIM
to protect its customers.


Problem

A security vulnerability exists in the MDS Connection Service of the
BlackBerry Enterprise Server Version 4.1.6 MR4 and earlier. This
vulnerability could enable externally supplied scripts to be executed
in the security context of the user administering the MDS Connection
Service using the BlackBerry Administration Service.


Resolution

RIM has corrected this vulnerability in BlackBerry Enterprise Server
version 4.1.6 MR5, and recommends that this update be installed for
improved stability and security.

Visit http://www.blackberry.com/go/serverdownloads to obtain this
update for affected BlackBerry Enterprise Server software versions.


Workaround

The issue can be fully mitigated by disabling script execution within
the browser. However, this may affect operation of the features of the
BlackBerry Manager. Partial mitigation can be achieved by logging in to
the BlackBerry Manager using an account with lesser rights or from a
system with a browser that supports enhanced security mode such as
Microsoft® Windows Server 2003, Microsoft Windows Server 2008 or
Microsoft Vista.


Additional Information

CVSS is a vendor agnostic, industry open standard designed to convey
the severity of vulnerabilities. CVSS scores may be used to determine
the urgency for update deployment within an organization. CVSS scores
range from 0.0 (no vulnerability) to 10.0 (critical). RIM uses CVSS
in vulnerability assessments to present an immutable characterization
of security issues. RIM assigns all security relevant issues a non-zero
score.


Common Vulnerabilities and Exposures (CVE) is a dictionary of common names
(CVE Identifiers) for publicly known information security vulnerabilities
maintained by the MITRE corporation.

Visit http://www.blackberry.com/security for more information on
BlackBerry security.

Products

    * BlackBerry Enterprise Server

______________________________________________________________________

Vulnerabilities in the PDF distiller of the BlackBerry Attachment Service
for the BlackBerry Enterprise Server
Doc ID : KB17953
Last Modified : 04-16-2009
Document Type : Security Advisory


Environment

    * BlackBerry® Enterprise Server software version 4.1 Service Pack 3
(4.1.3) through 4.1 Service Pack 6 (4.1.6)
    * BlackBerry® Professional Software 4.1 Service Pack 4 (4.1.4)



Note

This advisory does not replace KB15766 and KB17118, which describe earlier,
similar vulnerabilities. For the convenience of affected customers, the
fixes for KB15766 and KB17118 are included in the software update provided
for the new vulnerabilities described in this security advisory. Customers
affected by the issues described in this advisory should also review KB15766
and KB17118 to review how they are protected from the vulnerability described
in that advisory after applying either the updates provided in KB15766 and
KB17118, or the one provided in this advisory.


Overview

This advisory describes security issues that the BlackBerry Attachment Service
component of the BlackBerry Enterprise Server software is susceptible to. The
issues relate to the handling of malformed and possibly malicious PDF files.

Issue Severity: These vulnerabilities each have a Common Vulnerability Scoring
System (CVSS) score of 9.3.

Issue Status: Vulnerability confirmed. Software containing security update released.

Recommendation: Complete the resolution actions documented in this advisory.


References:

Reference 	                         Value

Related BlackBerry security advisories 	KB15766, KB17118


Problem

Multiple security vulnerabilities exist in the PDF distiller of some released
versions of the BlackBerry Attachment Service. These vulnerabilities could
enable a malicious individual to send an email message containing a specially
crafted PDF file, which when opened for viewing on a BlackBerry smartphone,
could cause memory corruption and possibly lead to arbitrary code execution
on the computer that hosts the BlackBerry Attachment Service.


Resolution

RIM has issued an interim security software update that resolves this
vulnerability in affected versions of the BlackBerry Enterprise Server
software and BlackBerry Professional Software.

For BlackBerry Enterprise Server

    * Visit http://www.blackberry.com/go/serverdownloads to download and
install Interim Security Software Update 3 for affected BlackBerry
Enterprise Server software versions.

    OR

    * For BlackBerry Enterprise Server for Microsoft Exchange or Lotus Domino,
visit http://www.blackberry.com/go/serverdownloads to download and install
version 4.1.6 MR5 or later.

For BlackBerry Professional Software

Visit http://na.blackberry.com/eng/support/downloads/#tab_professional to
obtain Interim Security Software Update 3 for affected BlackBerry Professional
Software versions.


Workaround

Note: As a mobile device best practice, Research In Motion (RIM) recommends
that BlackBerry smartphone users open attachments from trusted sources only.
Prevent the BlackBerry Attachment Service from processing PDF files in a
BlackBerry Enterprise Server environment

You can prevent the BlackBerry Attachment Service from processing PDF files
by editing the list of file format extensions that the BlackBerry Attachment
Service opens, and then preventing the PDF attachment distiller from running
on the BlackBerry Attachment Service.

To remove the PDF file extension from the list of supported file format
extensions, complete the following actions:

   1.From the Windows Desktop, open the BlackBerry Server Configuration tool.
   2.Click the Attachment Server tab.
   3.In the Format Extensions field, delete pdf: from the colon–delimited
list of extensions.
   4.Click Apply.
   5.Click OK.

Until you prevent the PDF attachment distiller from running, the BlackBerry
Attachment Service still detects a PDF file with a renamed extension (in
other words, its extension is not .pdf) and attempts to process the file
automatically. To prevent the PDF attachment distiller from running,
complete the following actions:

   1.On the Windows Desktop, open the BlackBerry Server Configuration tool.
   2.Click the Attachment Server tab.
   3.In the Configuration Option drop-down list, select Attachment Server.
   4.In the Distiller Settings section, next to the distiller name Adobe PDF,
clear the check box in the Enabled column.
   5.Click Apply.
   6.Click OK.
   7.On the Windows Desktop, in Administrative Tools, open Services.
   8.Right-click BlackBerry Attachment Service and click Stop.
   9.Right-click BlackBerry Attachment Service and click Start.
  10.Close Services.

In Microsoft Exchange and Novell GroupWise environments, complete the
following additional steps:

   1. On the Windows Desktop, in Administrative Tools, open Services.
   2. Right-click BlackBerry Dispatcher and click Stop.
   3. Right-click BlackBerry Dispatcher and click Start.
   4. Close Services.

Note: Restarting BlackBerry Enterprise Server services might delay message
delivery to BlackBerry devices. For more information, see KB04789.



In IBM Lotus Domino environments, complete the following additional steps:

   1.Open the Lotus Domino Administrator.
   2.Click the Server tab.
   3.Click the Status tab
   4.Click Server Console.
   5.In the Domino Command field, type tell BES quit and press ENTER.
   6.In the Domino Command field, type load BES and press ENTER.
   7.Close the Lotus Domino Administrator.




Additional Information

You can install the BlackBerry Attachment Service on a remote computer and
then place that computer on its own network segment to prevent the spread
of potential attacks from the BlackBerry Attachment Service to another
computer within your organization’s network. In a segmented network, attacks
are isolated and contained on a single area of the network. Using segmented
network architecture is designed to improve the security and performance
of the BlackBerry Attachment Service network segment by filtering out
attachment data that is not destined for other network segments. For more
information about placing the BlackBerry Enterprise Solution components
in a network architecture that is segmented to prevent the spread of
potential malware attacks, see Placing the BlackBerry Enterprise Solution
in a Segmented Network.

CVSS is a vendor agnostic, industry open standard designed to convey the
severity of vulnerabilities. CVSS scores may be used to determine the urgency
for update deployment within an organization. CVSS scores range from 0.0 (no
vulnerability) to 10.0 (critical). RIM uses CVSS in vulnerability assessments
to present an immutable characterization of security issues. RIM assigns all
security relevant issues a non-zero score.

Visit www.blackberry.com/security for more information on BlackBerry security.

Products

    * BlackBerry Enterprise Server
    * BlackBerry Professional Software
======================================================================

          =========================================================
          Les serveurs de référence du CERT-Renater
          http://www.urec.fr/securite
          http://www.cru.fr/securite
          http://www.renater.fr
          =========================================================
          + CERT-RENATER          | tel : 01-53-94-20-44          +
          + 151 bd de l'Hopital   | fax : 01-53-94-20-41          +
          + 75013 Paris           | email: certsvp@renater.fr     +
          =========================================================



