CVE-2017-12635
CVE-2017-12635 — Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x…
Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x before 2.1.1 to submit _users documents with duplicate keys for 'roles' used for access control within the database, including the special case '_admin' role, that denotes administrative users. In combination with CVE-2017-12636 (Remote Code Execution), this can be used to give non-admin users access to arbitrary shell commands on the server as the database system user. The JSON parser differences result in behaviour that if two 'roles' keys are available in the JSON, the second one will be used for authorising the document write, but the first 'roles' key is used for subsequent authorization for the newly created user. By design, users can not assign themselves roles. The vulnerability allows non-admin users to give themselves admin privileges.
Published Updated Sources: NVD, Apache Software Foundation (CNA), GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
100%
top of FIRST's scoreset
CVSS base
9.8
critical · 3 sources
Remediation
The vendor's own words where we have them.
Upgrade Apache CouchDB to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
Red Hat VEX · CVE-2017-12635
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apache | Apache CouchDB | 1.2.0 to 1.6.1 | Vulnerable |
| Apache | Apache CouchDB | 2.0.0 to 2.1.0 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.0 | critical | 3.9 | 5.9 | NVD, GHSA |
| 10.0 | CVSS 2.0 | high | 10 | 10 | NVD |
| 6.5 | CVSS 3.1 | medium | n/a | n/a | Red Hat (VEX) |
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-269 · Improper Privilege Management
- Gain Privileges or Assume Identity::
Mitigation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Weakness & attack patterns
- CWE-269Improper Privilege Management
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1548Abuse Elevation Control Mechanism
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
50
Exploit entries
16
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
Cytellite recent detection targeting CVE-2017-12635 — IP Volume inc Visit -- https://t.co/fBGyK6loi8 #Loginsoft #Cytellite #Cybersecurity #CVE201712635 #LOVI #ThreatIntelligence #Infosecurity #AI https://t.co/nT3OPvlLj8
@Loginsoft_Intel· Jan 17, 2026
Cytellite recent detection targeting CVE-2017-12635 — UCLOUD INFORMATION TECHNOLOGY HK LIMITED visit -- https://t.co/m9qcKN7FdR #LoginSoft #Cytellite #CyberSecurity #CVE-2017-12635 #lovi #threatintelligence #infosecurity #Ai https://t.co/Ns29He4Ryi
@lovithreatintel· Dec 16, 2025
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Apache CouchDB.
- Review endpoint telemetry for service binary replacement, suspicious service launches, or privilege changes tied to the affected agent.
- Monitor for scanner or exploit-pattern traffic after 66 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip8.221.141.8838
socks-proxy-Firehol · Jul 6, 2024
- ip8.137.38.4845
Proxy · Aug 6, 2024
- ip8.211.51.11542
socks-proxy-Firehol · Jul 26, 2024
- ip8.211.194.8545
socks-proxy-Firehol · Jul 4, 2024
- ip47.252.11.23343
socks-proxy-Firehol · Jul 17, 2024
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited Darabium/couchdb-exploit
Oct 21, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2024
CVE is exploited. "Weisant/CVE-2017-12635-POC"
Oct 31, 2024 · SOCRadar CTI
CVE is exploited. "Weisant/CVE-2017-12635-EXP"
Oct 30, 2024 · SOCRadar CTI
- 2023
CVE is exploited. "0ps/pocassistdb"
Dec 9, 2023 · SOCRadar CTI
CVE is exploited. "ARPSyndicate/cvemon"
Dec 9, 2023 · SOCRadar CTI
CVE is exploited. "ExpLangcn/HVVExploitApply_POC"
Dec 9, 2023 · SOCRadar CTI
CVE is exploited. "HimmelAward/Goby_POC"
Dec 9, 2023 · SOCRadar CTI
CVE is exploited. "assalielmehdi/CVE-2017-12635"
Dec 9, 2023 · SOCRadar CTI
CVE is exploited. "cocomelonc/vulnexipy"
Dec 9, 2023 · SOCRadar CTI
CVE is exploited. "jweny/pocassistdb"
Dec 9, 2023 · SOCRadar CTI
- 2022
Added · GHSA-f3p2-qqmm-jg8f published (critical)
May 13, 2022 · GitHub Security Advisory
- 2018
Added · Verified remote entry: Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)
Jul 13, 2018 · Exploit-DB
Added · Verified remote entry: Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)
Jul 13, 2018 · Exploit-DB
Added · webapps entry: Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Unauthenticated Remote Privilege Escalation
Apr 23, 2018 · Exploit-DB
- 2017
Initial · CVE published
Nov 14, 2017 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 23×Github ReposJul 5, 2022 – Oct 8, 2026 · SOCRadar CTI
- 4×TweetsJan 10, 2023 – Jan 18, 2026 · SOCRadar CTI
- 3×SvrsOct 31, 2024 – Oct 21, 2026 · SOCRadar CTI
References
13 on the record
- www.securityfocus.com/bid/101868
Third Party Advisory, VDB Entry, NIST
- lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3E
Vendor Advisory, Mitre, NIST
- lists.debian.org/debian-lts-announce/2018/01/msg00026.html
Vendor Advisory, Mitre, NIST
- security.gentoo.org/glsa/201711-16
Third Party Advisory, Mitre, NIST
- support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_us
Vendor Advisory
- www.exploit-db.com/exploits/44498/
Vendor Advisory, Mitre, GITHUB, NIST
- www.exploit-db.com/exploits/45019/
Vendor Advisory, Mitre, GITHUB, NIST
- nvd.nist.gov/vuln/detail/CVE-2017-12635
NVD
Coverage
1 story from the feeds we poll
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-84869 ScreenConnect Client: Guest-to-Host File Execution via File-Transfer ActionsCVSS 9.9 · CISA KEV
- CVE-2026-46817 Oracle E-Business Suite Improper Privilege Management VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2024-49035 Microsoft Partner Center Improper Access Control VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-21972 VMware vCenter Server Remote Code Execution VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2021-20021 SonicWall Email Security Improper Privilege Management VulnerabilityCVSS 9.8 · CISA KEV
- CVE-2020-1938 Apache Tomcat Improper Privilege Management VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Apacheevery CVE for this vendor
- Apache CouchDBevery page on this product
- Privilege Escsame class
- CWE-269other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2017-12635 is Due to differences in the Erlang-based JSON parser and JavaScript-based JSON parser, it is possible in Apache CouchDB before 1.7.0 and 2.x…, a critical vulnerability affecting Apache CouchDB from Apache Software Foundation. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 66 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 100% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.