title: 'CVE-2017-12636 Exploit Attempt: Apache CouchDB < 1.7.0 / 2.x < 2.1.1 - Query Server Remote Code Execution'
id: '2d433e89-192a-540c-bee6-4fd98754d869'
status: 'experimental'
description: 'A web request matching the public nuclei template for CVE-2017-12636 (Apache CouchDB < 1.7.0 / 2.x < 2.1.1 - Query Server Remote Code Execution). The payload travels in the request body, which access logs do not keep, so the rule matches the method and path only. A hit means someone sent this request: an exploit attempt or a scanner. It does not mean the attempt worked. Derived from the template by fixed rules, not written by hand; read it before you rely on it.'
references:
    - 'https://github.com/projectdiscovery/nuclei-templates/blob/f3230325748bc22e9a3319dc01a1692687170d99/http/cves/2017/CVE-2017-12636.yaml'
    - 'https://nvd.nist.gov/vuln/detail/CVE-2017-12636'
author: 'thrunt.me, derived from projectdiscovery/nuclei-templates (MIT)'
date: '2026-11-23'
modified: '2026-11-23'
tags:
    - 'attack.initial-access'
    - 'attack.t1190'
    - 'cve.2017-12636'
    - 'detection.emerging-threats'
logsource:
    category: 'webserver'
detection:
    selection_1:
        cs-method: 'PUT'
        cs-uri-stem|contains: '/_users/org.couchdb.user:'
    selection_2:
        cs-method: 'PUT'
        cs-uri-stem|contains: '/_config/query_servers/'
    condition: '1 of selection_*'
falsepositives:
    - 'Vulnerability scanners and penetration tests that send the same template request.'
    - 'Ordinary use of this endpoint, if your application serves it. Compare the source and the response code.'
level: 'low'
