Lucene search

K
certCERTVU:537684
HistoryMay 28, 2014 - 12:00 a.m.

Alfresco Enterprise contains multiple cross-site scripting vulnerabilities

2014-05-2800:00:00
www.kb.cert.org
16

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.003 Low

EPSS

Percentile

69.0%

Overview

Alfresco Enterprise 4.1.6 and possibly earlier versions are vulnerable to multiple cross-site scripting (XSS) vulnerabilities.

Description

CWE-79: Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)

Alfresco Enterprise is vulnerable to a stored cross-site scripting attack when a user uploads an XHTML file. Although uploaded HTML files are validated for javascript code, XHTML files are not. Therefore, a remote authenticated attacker could upload an XHTML file containing arbitrary javascript code. When a victim visits the XHTML file in their browser, the javascript will be executed.

Additionally, the software relies upon an HTML parser to filter untrusted input from various input fields within the application. A specially crafted HTML input allows an authenticated attacker to bypass the HTML parser and persist javascript on various pages of Alfresco. Specifically, the HTML parser considers the <% tag to introduce JSP/ASP code, which the application considers to be unharmful. By escaping crafted input with the <% tag, an attacker can evade the application’s anti-XSS mechanisms.

Lastly, the taskId GET parameter to the /share/page/task-edit URL is vulnerable to a reflected cross-site scripting vulnerability.


Impact

A remote attacker may be able to execute arbitrary script in the context of the end-user’s browser session. With the exception of the vulnerability in /share/page/task-edit, the attacker must be authenticated.


Solution

Alfresco has released hotfix 4.1.6.13 to address this issue. Alternatively, users can upgrade to version 4.1.8 or later. In addition, please consider the following workaround:


Restrict access

As a general good security practice, only allow connections from trusted hosts and networks. Note that restricting access does not prevent XSS attacks since the attack comes as an HTTP request from a legitimate user’s host. Restricting access would prevent an attacker from accessing the web interface using stolen credentials from a blocked network location.


Vendor Information

537684

Filter by status: All Affected Not Affected Unknown

Filter by content: __ Additional information available

__ Sort by: Status Alphabetical

Expand all

Javascript is disabled. Click here to view vendors.

Alfresco Affected

Notified: April 16, 2014 Updated: May 07, 2014

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

CVSS Metrics

Group Score Vector
Base 4.9 AV:N/AC:M/Au:S/C:P/I:P/A:N
Temporal 3.8 E:POC/RL:OF/RC:C
Environmental 1.1 CDP:L/TD:L/CR:ND/IR:ND/AR:ND

References

<http://www.alfresco.com/&gt;

Acknowledgements

Thanks to Nicolas Verdier from TEHTRI-Security for reporting this vulnerability.

This document was written by Todd Lewellen.

Other Information

CVE IDs: CVE-2014-2939
Date Public: 2014-05-28 Date First Published:

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.003 Low

EPSS

Percentile

69.0%

Related for VU:537684