{"vuid":"VU#162308","idnumber":"162308","name":"Resin Pro improperly performs Unicode transformations","keywords":["resin pro","cwe-20","xss","encoding","iso-8859-1","unicode"],"overview":"Resin Pro 4.0.39 and possibly earlier versions improperly performs Unicode transformations.","clean_desc":"CWE-20: Improper Input Validation\nResin 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 bypass filtering/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 bypass filtering/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.","resolution":"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.","workarounds":"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 to use UTF-8 with a single directive.","sysaffected":"","thanks":"Thanks to Yoel Gluck and Angelo Prado from Salesforce.com's Product Security team for reporting this vulnerability","author":"This document was written by Chris King.","public":["http://caucho.com/products/resin/download#download","http://cwe.mitre.org/data/definitions/20.html"],"cveids":["CVE-2014-2966"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2014-02-24T20:00:51Z","publicdate":"2014-07-23T00:00:00Z","datefirstpublished":"2014-07-23T18:59:01Z","dateupdated":"2014-07-23T18:59:04Z","revision":20,"vrda_d1_directreport":"1","vrda_d1_population":"3","vrda_d1_impact":"3","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"N","cvss_accesscomplexity":"M","cvss_authentication":null,"cvss_confidentialityimpact":"P","cvss_integrityimpact":"P","cvss_availabilityimpact":"N","cvss_exploitablity":null,"cvss_remediationlevel":"OF","cvss_reportconfidence":"C","cvss_collateraldamagepotential":"L","cvss_targetdistribution":"L","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"5.8","cvss_basevector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","cvss_temporalscore":"4.5","cvss_environmentalscore":"1.26487305491425","cvss_environmentalvector":"CDP:L/TD:L/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}