CVE-2017-12636: OS Command Injection
CouchDB administrative users can configure the database server via HTTP(S). Some of the configuration options include paths for operating system-level binaries that are subsequently launched by CouchDB. This allows an admin user in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to execute arbitrary shell commands as the CouchDB user, including downloading and executing scripts from the public internet.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Apache CouchDBto a version that resolves this vulnerability.Fixed in 1.7.0 - Upgrade
Upgrade
Apache CouchDBto a version that resolves this vulnerability.Fixed in 2.1.1
Event History
Frequently Asked Questions
What is the severity of CVE-2017-12636?
CVE-2017-12636 is considered a critical vulnerability due to its ability to allow arbitrary command execution by an administrative user.
How do I fix CVE-2017-12636?
To fix CVE-2017-12636, upgrade Apache CouchDB to version 1.7.0 or higher, or to version 2.1.1 or higher.
Who is affected by CVE-2017-12636?
CVE-2017-12636 affects Apache CouchDB versions before 1.7.0 and 2.x before 2.1.1.
What can an attacker do with CVE-2017-12636?
An attacker with access to CouchDB administrative capabilities can execute arbitrary system-level commands through configured binary paths.
Is there a workaround for CVE-2017-12636?
As a workaround for CVE-2017-12636, restrict administrative access and avoid using vulnerable versions until the software is upgraded.