CVE-2017-12635: falha em Apache CouchDB
Publicada em · Atualizada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
82Vexday Risk Score
Corrija agora. Ela exploração observada pelo VulnCheck e tem exploit funcional público.
ssvc Actepss 100%
da publicação à arma160 dias
Publicada no NVD14 de nov.
1ª PoC+160d
metasploit6 de abr.
VulnCheck+2194d
O que os fabricantes declaram (VEX)
Declarações oficiais dos fabricantes em formato CSAF/VEX: se o produto deles está afetado, já corrigido ou descartado — e por quê. É afirmação do fabricante, não juízo do Vexday.
Red Hatdocumento VEX ↗
Não afetado
1 produto — porque o código vulnerável não está presente no produto
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.
Produtos afetados
Apache Software Foundation · Apache CouchDBPoCs públicas encontradas — 14✓ VexDay Proof
exploitdb✓ VexDay Proofwww.exploit-db.com/exploits/45019exploitdbwww.exploit-db.com/exploits/44498não 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/847c19a0e064não verificadovulncheckvulncheck.com/xdb/5aa0915a6134não verificadocve_referencewww.exploit-db.com/exploits/44498/não verificadocve_referencewww.exploit-db.com/exploits/45019/não verificadovulncheckvulncheck.com/xdb/7188e77a9ed0não verificadovulncheckvulncheck.com/xdb/ecc5d1fad142não verificadovulncheckvulncheck.com/xdb/f562b93f489dnão verificado⚠ Recursos públicos, para você avaliar a exposição de sistemas que controla ou está autorizado a testar. Teste apenas com autorização.
CVEs relacionadas — Apache CouchDB
No mesmo produto, das mais perigosas para as 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%
Referências
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