Lucene search
+L

CVE-2017-12636

🗓️ 14 Nov 2017 20:00:00Reported by apacheType 
cve
 cve
🔗 web.nvd.nist.gov📰️ 4 Media mentions👁 209 Views🌐 WEB

CouchDB admin user can execute arbitrary shell commands via HTTP(S

Related
Detection
Affected
Refs
Paths
Social
NVD
Vulners
Node
OR
apachecouchdbRange<1.7.0
apachecouchdbMatch2.0.0
apachecouchdbMatch2.0.0rc1
apachecouchdbMatch2.0.0rc2
apachecouchdbMatch2.0.0rc3
apachecouchdbMatch2.0.0rc4
[
  {
    "product": "Apache CouchDB",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "status": "affected",
        "version": "1.2.0 to 1.6.1"
      },
      {
        "status": "affected",
        "version": "2.0.0 to 2.1.0"
      }
    ]
  }
]
ParameterPositionPathDescriptionCWE
echo '#{@cmdstager}' > #{rand_file}request body/_config/query_servers/#{rand_cmd1}CouchDB arbitrary command execution via config query_servers path (PUT)CWE-78
_idrequest body/#{rand_db}/#{rand_doc}Create document with controlled _id to enable later commandsCWE-78
languagerequest body/#{rand_db}/_temp_view?limit=20Invoke map function with crafted language to trigger command executionCWE-78
maprequest body/#{rand_db}/_temp_view?limit=20Invoke map function with crafted language to trigger command executionCWE-78
/bin/sh #{rand_file}request body/_config/query_servers/#{rand_cmd2}Set up command to execute shell via config server for CouchDB 2.x pathCWE-78
echo '#{@cmdstager}' > #{rand_file}request body/_node/#{node}/_config/query_servers/#{rand_cmd1}Node-specific config to write and execute commandCWE-78
_idrequest body/#{rand_db}/_design/#{rand_tmp}Create design document to host payload and trigger executionCWE-78
viewsrequest body/#{rand_db}/_design/#{rand_tmp}Create design document to host payload and trigger executionCWE-78
languagerequest body/#{rand_db}/_design/#{rand_tmp}Create design document to host payload and trigger executionCWE-78
/bin/sh #{rand_file}request body/_node/#{node}/_config/query_servers/#{rand_cmd2}Node-level config to execute crafted shell commandCWE-78
Rows per page

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Jun 2026 01:03Current
8.5High risk
Vulners AI Score8.5
CVSS 37.2
CVSS 29
EPSS0.8973
209