search menu icon-carat-right cmu-wordmark

CERT Coordination Center

OrientDB and Studio prior to version 2.1.1 contain multiple vulnerabilities

Vulnerability Note VU#845332

Original Release Date: 2015-09-03 | Last Revised: 2015-09-03

Overview

Studio for OrientDB Server Community Edition version prior to version 2.1.1 contains several vulnerabilities.

Description

CWE-352: Cross-Site Request Forgery (CSRF) - CVE-2015-2912

The Studio web interface to OrientDB contains a CSRF vulnerability. An attacker can perform actions with the same permissions as a victim user, provided the victim has an active session and is induced to trigger the malicious request.

The version of Studio bundled with OrientDB Community Edition version 2.0.3 has been reported as vulnerable. Other versions prior to version 2.0.15 and 2.1.1 may also be vulnerable.

CWE-330: Use of Insufficiently Random Values - CVE-2015-2913

OrientDB prior to version 2.1.0 utilizes the Java library java.util.Random for Session IDs. However, this class is not random enough for security-related use. An attacker may be able to use this value to determine the internal state of the random number generator and predict future values.

CWE-20: Improper Input Validation - CVE-2015-2918

OrientDB Studio web management interface does not by default enforce the same-origin policy in X-Frame-Options response headers. An attacker can conduct clickjacking attacks via a crafted web page.

Impact

An unauthenticated remote attacker may perform actions with the same permissions of a victim user. An authenticated user may be able to gain administrative privileges to the database by manipulating the Session ID.

Solution

Apply an update

OrientDB has released versions 2.0.15 and 2.1.1 to address CVE-2015-2912 and CVE-2015-2913.

Affected users are encouraged to update as soon as possible.

The update addresses CVE-2015-2912 by disabling JSONP by default. Consider your threat model, mitigations, and needs before re-enabling this functionality.

CVE-2015-2913 is addressed by using java.security.SecureRandom to generate random numbers.

Set HTTP additional X-Frame-Options header

Setting the additional X-Frame-Options header prevents clickjacking attacks (CVE-2015-2918). To enable this, use the following command line argument when starting the server:

   -Dnetwork.http.additionalResponseHeaders="X-FRAME-OPTIONS: DENY"


or add this value to the server's orientdb-server-config.xml file.

Alternately, you may consider the following workarounds:

Disable OrientDB Studio

Consider disabling Studio if it is not required. Disabling Studio prevents these issues from being accessible.

Vendor Information

845332
 

Orient Technologies Affected

Notified:  June 10, 2015 Updated: August 18, 2015

Status

Affected

Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.


CVSS Metrics

Group Score Vector
Base 6 AV:N/AC:M/Au:S/C:P/I:P/A:P
Temporal 5.1 E:POC/RL:U/RC:UR
Environmental 3.8 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

Acknowledgements

Thanks to Raffaela Frank for reporting this vulnerability to us.

This document was written by Garret Wassermann.

Other Information

CVE IDs: CVE-2015-2912, CVE-2015-2913, CVE-2015-2918
Date Public: 2015-08-31
Date First Published: 2015-09-03
Date Last Updated: 2015-09-03 19:22 UTC
Document Revision: 49

Sponsored by CISA.