Executive Summary

Summary
Title Resin Pro improperly performs Unicode transformations
Informations
Name VU#162308 First vendor Publication 2014-07-23
Vendor VU-CERT Last vendor Modification 2014-07-23
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:L/Au:N/C:N/I:P/A:N)
Cvss Base Score 5 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#162308

Resin Pro improperly performs Unicode transformations

Original Release date: 23 Jul 2014 | Last revised: 23 Jul 2014

Overview

Resin Pro 4.0.39 and possibly earlier versions improperly performs Unicode transformations.

Description

CWE-20: Improper Input Validation

Resin Pro 4.0.39 and possibly earlier versions perform incorrect Unicode transformations on output to HTTP responses for ISO-8859-1. This allows an attacker to bypassfiltering/encoding/validation done prior to the output transformation. An attacker can use specially crafted input characters on pages that by default respond with ISO-8859-1 (or can be forced to use it) to bypassfiltering/encoding/validation done prior to the output transformation.

It should be noted that Resin's default encoding (charset) is ISO-8859-1.

Impact

A remote unauthenticated attacker may be able to perform XSS, Open Redirect, and other attacks that depend on the logic being enforced prior to the transformation and bypassed due to this vulnerability.

Solution

Apply an Update

Resin Pro 4.0.40 has been released to address this vulnerability. If you are unable to upgrade, 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 or CSRF 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.

Restrict content to always use UTF-8 (or other safe charsets)

Using HttpServletResponse.setContentType() to set the response charset to UTF-8. For example: response.setContentType("text/html;charset=UTF-8");

According to Caucho's base documentation, it is possible to change the system wide encoding touse UTF-8 with a single directive.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
Caucho TechnologyAffected27 Feb 201423 Jun 2014
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base5.8AV:N/AC:M/Au:N/C:P/I:P/A:N
Temporal4.5E:POC/RL:OF/RC:C
Environmental1.3CDP:L/TD:L/CR:ND/IR:ND/AR:ND

References

  • http://caucho.com/products/resin/download#download
  • http://cwe.mitre.org/data/definitions/20.html

Credit

Thanks to Yoel Gluck and Angelo Prado from Salesforce.com's Product Security team for reporting this vulnerability

This document was written by Chris King.

Other Information

  • CVE IDs:CVE-2014-2966
  • Date Public:23 Jul 2014
  • Date First Published:23 Jul 2014
  • Date Last Updated:23 Jul 2014
  • Document Revision:19

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/162308

CWE : Common Weakness Enumeration

% Id Name
50 % CWE-264 Permissions, Privileges, and Access Controls
50 % CWE-20 Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 101

Alert History

If you want to see full details history, please login or register.
0
1
2
3
Date Informations
2014-07-29 00:25:11
  • Multiple Updates
2014-07-26 21:29:34
  • Multiple Updates
2014-07-25 13:18:43
  • Multiple Updates
2014-07-23 21:22:51
  • First insertion