Skip to main content
CVE Radar
criticalPrivilege Escpublic exploit

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

Affects

Apache

2 products listed

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

fixed0affected0not affected1

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.

Affected vendors, products and versions
VendorProductVersionsStatus
ApacheApache CouchDB1.2.0 to 1.6.1Vulnerable
ApacheApache CouchDB2.0.0 to 2.1.0Vulnerable

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.

Every CVSS base score collected, by source and version
ScoreVersionSeverityExpl.ImpactSource
9.8CVSS 3.0critical3.95.9NVD, GHSA
10.0CVSS 2.0high1010NVD
6.5CVSS 3.1mediumn/an/aRed 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.

MITRE

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.

CAPEC-122 · Privilege AbuseCAPEC-58 · Restful Privilege ElevationCAPEC-233 · Privilege Escalation
  • 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.

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.
web/proxy/WAF logsapplication logsnetwork IDS/IPSEDR process telemetryhost service logs

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.

KinsingTeamTNT
  • 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

SOCRadar5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock free

Timeline

What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.

  1. 2026
  2. Cve is exploited Darabium/couchdb-exploit

    Oct 21, 2026 · SOCRadar CTI

  3. Added · CVSS 3.1 9.8 (AV:N)

    Jun 17, 2026 · NVD

  4. 2024
  5. CVE is exploited. "Weisant/CVE-2017-12635-POC"

    Oct 31, 2024 · SOCRadar CTI

  6. CVE is exploited. "Weisant/CVE-2017-12635-EXP"

    Oct 30, 2024 · SOCRadar CTI

  7. 2023
  8. CVE is exploited. "0ps/pocassistdb"

    Dec 9, 2023 · SOCRadar CTI

  9. CVE is exploited. "ARPSyndicate/cvemon"

    Dec 9, 2023 · SOCRadar CTI

  10. CVE is exploited. "ExpLangcn/HVVExploitApply_POC"

    Dec 9, 2023 · SOCRadar CTI

  11. CVE is exploited. "HimmelAward/Goby_POC"

    Dec 9, 2023 · SOCRadar CTI

  12. CVE is exploited. "assalielmehdi/CVE-2017-12635"

    Dec 9, 2023 · SOCRadar CTI

  13. CVE is exploited. "cocomelonc/vulnexipy"

    Dec 9, 2023 · SOCRadar CTI

  14. CVE is exploited. "jweny/pocassistdb"

    Dec 9, 2023 · SOCRadar CTI

  15. 2022
  16. Added · GHSA-f3p2-qqmm-jg8f published (critical)

    May 13, 2022 · GitHub Security Advisory

  17. 2018
  18. Added · Verified remote entry: Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)

    Jul 13, 2018 · Exploit-DB

  19. Added · Verified remote entry: Apache CouchDB < 1.7.0 / < 2.1.1 - Arbitrary Command Execution (Metasploit)

    Jul 13, 2018 · Exploit-DB

  20. Added · webapps entry: Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Unauthenticated Remote Privilege Escalation

    Apr 23, 2018 · Exploit-DB

  21. 2017
  22. 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

Coverage

1 story from the feeds we poll

Related CVEs

Same product first, then the same weakness or threat actor.

Elsewhere on this site

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.