search menu icon-carat-right cmu-wordmark

CERT Coordination Center

Caucho's Quercus on Resin contains multiple vulnerabilities

Vulnerability Note VU#309979

Original Release Date: 2012-07-23 | Last Revised: 2012-07-23

Overview

Caucho's Quercus on Resin contains multiple vulnerabilities which could allow an attacker to execute arbitrary code with the privileges of the application.

Description

It has been reported that Caucho's Quercus on Resin contains multiple vulnerabilities which could allow an attacker to execute arbitrary code with the privileges of the application.

    • CVE-2012-2965: 1. HTTP Parameter Contamination: Some special characters in variables names are handled inappropriately, which may be leveraged by attackers. Additionally, attackers may intentionally cause error 500.
    • CVE-2012-2966: 2. Variables Globalization and Overwriting: When parameters are transferred via POST, they become globalized. When parameters are transferred via POST, the _SERVER array items may be overwritten.
    • CVE-2012-2967: 3. Inappropriate Variable Comparison: Flexible comparison (using the == operator) various types of variables is implemented inappropriately. It is possible for variable comparisons to always result in a TRUE result. Additionally, the result of comparing array() and 0 in all cases is TRUE, which is also atypical behavior for a PHP interpreter.
    • CVE-2012-2968: 4. Path Traversal: When downloading files, the ../ string may be inserted into filenames (via forging HTTP requests). Such insertion allows downloading files to arbitrary directories.
    • CVE-2012-2969: 5. Null Byte Injection: When downloading files, null bytes may be inserted into filenames (via forging HTTP requests). As a result of the insertion, the string after the null byte will be dropped.

Impact

A remote unauthenticated attacker may obtain sensitive information, cause a denial of service condition or execute arbitrary code with the privileges of the application.

Solution

Update

According to the vendor these issues are addressed in software version 4.0.29. Users are advised to upgrade to 4.0.29 or higher.

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 Quercus on Resin website interface using stolen credentials from a blocked network location.

Vendor Information

309979
 
Affected   Unknown   Unaffected

Caucho Technology

Notified:  April 30, 2012 Updated:  July 23, 2012

Status

  Affected

Vendor Statement

No statement is currently available from the vendor regarding this vulnerability.

Vendor Information

According to the vendor these issues are addressed in software version 4.0.29. Users are advised to upgrade to 4.0.29 or higher

Vendor References

http://caucho.com/resin-4.0/changes/changes.xtp


CVSS Metrics

Group Score Vector
Base 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
Temporal 5.0 E:U/RL:OF/RC:UC
Environmental 1.4 CDP:L/TD:L/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to Sergey Scherbel for reporting this vulnerability.

This document was written by Michael Orlando.

Other Information

CVE IDs: CVE-2012-2965, CVE-2012-2966, CVE-2012-2967, CVE-2012-2968, CVE-2012-2969
Date Public: 2012-07-13
Date First Published: 2012-07-23
Date Last Updated: 2012-07-23 19:28 UTC
Document Revision: 14

Sponsored by the Department of Homeland Security Office of Cybersecurity and Communications.