{"vuid":"VU#845332","idnumber":"845332","name":"OrientDB and Studio prior to version 2.1.1 contain multiple vulnerabilities","keywords":["orientdb","csrf","CWE-352","random","CWE-330"],"overview":"Studio for OrientDB Server Community Edition version prior to version 2.1.1 contains several vulnerabilities.","clean_desc":"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.","resolution":"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:","workarounds":"Disable OrientDB Studio Consider disabling Studio if it is not required. Disabling Studio prevents these issues from being accessible.","sysaffected":"","thanks":"Thanks to Raffaela Frank for reporting this vulnerability to us.","author":"This document was written by Garret Wassermann.","public":["https://github.com/orientechnologies/orientdb/commit/668ece96be210e742a4e2820a3085b215cf55104","https://github.com/orientechnologies/orientdb/issues/4824"],"cveids":["CVE-2015-2912","CVE-2015-2913","CVE-2015-2918"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2015-06-01T13:07:49Z","publicdate":"2015-08-31T00:00:00Z","datefirstpublished":"2015-09-03T16:36:35Z","dateupdated":"2015-09-03T19:22:23Z","revision":49,"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":"P","cvss_exploitablity":null,"cvss_remediationlevel":"U","cvss_reportconfidence":"UR","cvss_collateraldamagepotential":"ND","cvss_targetdistribution":"M","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"6","cvss_basevector":"AV:N/AC:M/Au:S/C:P/I:P/A:P","cvss_temporalscore":"5.1","cvss_environmentalscore":"3.84489471202594","cvss_environmentalvector":"CDP:ND/TD:M/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}