Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Alfresco Enterprise contains multiple cross-site scripting vulnerabilities
Informations
Name VU#537684 First vendor Publication 2014-05-28
Vendor VU-CERT Last vendor Modification 2014-05-28
Severity (Vendor) N/A Revision M

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Cvss Base Score 4.3 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#537684

Alfresco Enterprise contains multiple cross-site scripting vulnerabilities

Original Release date: 28 May 2014 | Last revised: 28 May 2014

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 (Learn More)

VendorStatusDate NotifiedDate Updated
AlfrescoAffected16 Apr 201407 May 2014
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base4.9AV:N/AC:M/Au:S/C:P/I:P/A:N
Temporal3.8E:POC/RL:OF/RC:C
Environmental1.1CDP:L/TD:L/CR:ND/IR:ND/AR:ND

References

  • http://www.alfresco.com/

Credit

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:28 May 2014
  • Date First Published:28 May 2014
  • Date Last Updated:28 May 2014
  • Document Revision:11

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.

Original Source

Url : http://www.kb.cert.org/vuls/id/537684

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-79 Failure to Preserve Web Page Structure ('Cross-site Scripting') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 3

Alert History

If you want to see full details history, please login or register.
0
1
2
Date Informations
2014-06-03 21:27:55
  • Multiple Updates
2014-06-03 00:24:16
  • Multiple Updates
2014-05-28 17:20:33
  • First insertion