Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Caucho's Quercus on Resin contains multiple vulnerabilities
Informations
Name VU#309979 First vendor Publication 2012-07-23
Vendor VU-CERT Last vendor Modification 2012-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:P/I:P/A:P)
Cvss Base Score 7.5 Attack Range Network
Cvss Impact Score 6.4 Attack Complexity Low
Cvss Expoit Score 10 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Vulnerability Note VU#309979

Caucho's Quercus on Resin contains multiple vulnerabilities

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

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

VendorStatusDate NotifiedDate Updated
Caucho TechnologyAffected30 Apr 201223 Jul 2012
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

GroupScoreVector
Base7.5AV:N/AC:L/Au:N/C:P/I:P/A:P
Temporal5.0E:U/RL:OF/RC:UC
Environmental1.4CDP:L/TD:L/CR:ND/IR:ND/AR:ND

References

  • http://caucho.com/resin-4.0/changes/changes.xtp
  • http://en.securitylab.ru/lab/PT-2012-05

Credit

Thanks to Sergey Scherbel for reporting this vulnerability.

This document was written by Michael Orlando.

Other Information

  • CVE IDs:CVE-2012-2965CVE-2012-2966CVE-2012-2967CVE-2012-2968CVE-2012-2969
  • Date Public:13 Jul 2012
  • Date First Published:23 Jul 2012
  • Date Last Updated:23 Jul 2012
  • Document Revision:14

Feedback

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


This product is provided subject to the Notification as indicated here: http://www.us-cert.gov/legal.html#notify

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
33 % CWE-264 Permissions, Privileges, and Access Controls
33 % CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') (CWE/SANS Top 25)
33 % CWE-20 Improper Input Validation

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 91