Vulnerability identifier: #VU14324
Vulnerability risk: High
CVSSv3.1: 8.4 [CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H/E:F/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-78
Exploitation vector: Network
Exploit availability: Yes
Vulnerable software:
CouchDB
Server applications /
Database software
Vendor: Apache Foundation
Description
The vulnerability allows a remote administrative attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can configure the database server via HTTP(S) that include(s) paths for operating system-level binaries that are subsequently launched by CouchDB to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.
Successful exploitation of the vulnerability may result in system compromise.
Mitigation
Update to version 1.7.0 or 2.1.1.
Vulnerable software versions
CouchDB: 0.8.0 - 2.1.0
External links
http://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67@%3Cdev.couchdb.apache.org%3E
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote authenticated privileged user via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability. However, a fully functional exploit for this vulnerability is available.