OrientDB =< 2.2.22 - Remote Code Execution
OrientDB through 2.2.22 does not enforce privilege requirements during where/fetchplan/order-by use (CVE-2017-11467, CWE-269), letting a user with the default database credentials (admin/admin) create and execute an unsandboxed server-side Groovy function through the HTTP API (port 2480). The Groovy function runs arbitrary JVM code - and OS commands via Runtime/ProcessBuilder - achieving remote code execution. This template lists a database, creates a Groovy function that computes md5( ), triggers it, confirms code execution when the nonce's md5 is returned, and deletes the function. The payload is pure-JVM (no OS command), so it works on both Windows and Linux. References: https://nvd.nist.gov/vuln/detail/CVE-2017-11467 https://ssd-disclosure.com/ssd-advisory-orientdb-code-execution/ https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/orientdb_exec.rb Remediation: Upgrade to OrientDB 2.2.23 or later, change the default admin/admin (and reader/writer) credentials, and restrict access to the HTTP (2480) and binary (2424) ports.
10 assets checked · domain, subdomain, ipv4