// For flags

CVE-2017-12636

Apache CouchDB - Arbitrary Command Execution

Severity Score

7.2
*CVSS v3

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

4
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

Los usuarios administrativos de CouchDB pueden configurar el servidor de la base de datos mediante HTTP(S). Algunas de las opciones de configuración incluyen rutas para operar binarios a nivel de sistema que son iniciados subsecuentemente por CouchDB. Esto permite que un usuario administrador en versiones anteriores a la 1.7.0 y versiones 2.x anteriores a la 2.1.1 de Apache CouchDB ejecuten comandos shell arbitrarios como el usuario CouchDB, incluyendo la descarga y ejecución de scripts del internet público.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2017-08-07 CVE Reserved
  • 2017-11-14 CVE Published
  • 2018-08-25 First Exploit
  • 2024-06-17 EPSS Updated
  • 2024-09-16 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Apache
Search vendor "Apache"
Couchdb
Search vendor "Apache" for product "Couchdb"
< 1.7.0
Search vendor "Apache" for product "Couchdb" and version " < 1.7.0"
-
Affected
Apache
Search vendor "Apache"
Couchdb
Search vendor "Apache" for product "Couchdb"
2.0.0
Search vendor "Apache" for product "Couchdb" and version "2.0.0"
-
Affected
Apache
Search vendor "Apache"
Couchdb
Search vendor "Apache" for product "Couchdb"
2.0.0
Search vendor "Apache" for product "Couchdb" and version "2.0.0"
rc1
Affected
Apache
Search vendor "Apache"
Couchdb
Search vendor "Apache" for product "Couchdb"
2.0.0
Search vendor "Apache" for product "Couchdb" and version "2.0.0"
rc2
Affected
Apache
Search vendor "Apache"
Couchdb
Search vendor "Apache" for product "Couchdb"
2.0.0
Search vendor "Apache" for product "Couchdb" and version "2.0.0"
rc3
Affected
Apache
Search vendor "Apache"
Couchdb
Search vendor "Apache" for product "Couchdb"
2.0.0
Search vendor "Apache" for product "Couchdb" and version "2.0.0"
rc4
Affected