CVE-2017-12635: fallo en Apache CouchDB
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
82Vexday Risk Score
Corrige ahora. Ella explotación observada por VulnCheck y tiene exploit funcional público.
ssvc Actepss 100%
de la publicación al arma160 días
Publicada en NVD14 nov
1ª PoC+160d
metasploit6 abr
VulnCheck+2194d
Lo que declaran los fabricantes (VEX)
Declaraciones oficiales de los fabricantes en formato CSAF/VEX: si su producto está afectado, ya corregido o descartado — y por qué. Es afirmación del fabricante, no juicio de Vexday.
Red Hatdocumento VEX ↗
No afectado
1 producto — porque el código vulnerable no está presente en el producto
red_hat_products
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.
Productos afectados
Apache Software Foundation · Apache CouchDBPoCs públicas encontradas — 14✓ VexDay Proof
exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/45019exploitdbwww.exploit-db.com/exploits/44498no verificadogithubgithub.com/assalielmehdi/CVE-2017-12635★ 10githubgithub.com/cyberharsh/Apache-couchdb-CVE-2017-12635★ 1githubgithub.com/CyberCTF/vulhub-couchdb-cve-2017-12635★ 0githubgithub.com/Darabium/couchdb-exploit★ 0githubgithub.com/Dungsocool/CVE-2017-12635_36★ 0vulncheckvulncheck.com/xdb/847c19a0e064no verificadovulncheckvulncheck.com/xdb/5aa0915a6134no verificadocve_referencewww.exploit-db.com/exploits/44498/no verificadocve_referencewww.exploit-db.com/exploits/45019/no verificadovulncheckvulncheck.com/xdb/7188e77a9ed0no verificadovulncheckvulncheck.com/xdb/ecc5d1fad142no verificadovulncheckvulncheck.com/xdb/f562b93f489dno verificado⚠ Recursos públicos, para evaluar la exposición de sistemas que controlas o estás autorizado a probar. Prueba solo con autorización.
CVEs relacionadas — Apache CouchDB
En el mismo producto, de las más peligrosas a las menos.
CVE-2022-24706CRITICALRemote Code Execution Vulnerability in PackagingEPSS 92.5%KEVCVE-2017-12636—CVE-2017-12636EPSS 90.6%CVE-2018-8007—CVE-2018-8007EPSS 12.2%CVE-2018-11769—CVE-2018-11769EPSS 8.4%CVE-2021-38295—Privilege escalation vulnerability when using HTML attachmentsEPSS 3.7%CVE-2018-17188—CVE-2018-17188EPSS 3.6%
Referencias
https://lists.apache.org/thread.html/6c405bf3f8358e6314076be9f48c89a2e0ddf00539906291ebdf0c67%40%3Cdev.couchdb.apache.org%3Ehttps://lists.debian.org/debian-lts-announce/2018/01/msg00026.htmlhttps://security.gentoo.org/glsa/201711-16https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbmu03935en_ushttps://www.exploit-db.com/exploits/44498/https://www.exploit-db.com/exploits/45019/http://www.securityfocus.com/bid/101868