Apache CouchDB是美国阿帕奇(Apache)软件基金会的一个免费、开源、面向文档的数据库,是一个使用JSON作为存储格式,JavaScript作为查询语言,MapReduce和HTTP作为API的NoSQL数据库。 Apache CouchDB 1.7.0之前的版本和2.1.1之前的2.x版本中存在安全漏洞,该漏洞源于基于rlang的JSON解析器和基于JavaScript的JSON解析器之间存在差异。攻击者可利用该漏洞访问任意的shell命令或获取管理员权限。
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
10-question deep dive: root cause, exploitation, mitigation, urgency. Read summary free, full version requires login.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| Apache Software Foundation | Apache CouchDB | 1.2.0 to 1.6.1 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|---|---|---|
| 1 | Case study and POC of CVE-2017-12635: Apache CouchDB 1.7.0 / 2.x < 2.1.1 - Remote Privilege Escalation | https://github.com/assalielmehdi/CVE-2017-12635 | POC Details |
| 2 | None | https://github.com/cyberharsh/Apache-couchdb-CVE-2017-12635 | POC Details |
| 3 | None | https://github.com/tranmanhdat/couchdb_cve-2017-12635 | POC Details |
| 4 | CouchDB CVE-2017-12635 Exploit Script | https://github.com/Weisant/CVE-2017-12635-EXP | POC Details |
| 5 | POC for CouchDB CVE-2017-12635 | https://github.com/Weisant/CVE-2017-12635-POC | POC Details |
| 6 | 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 keysfor '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 behavior that if two 'roles' keys are available in the JSON, the second one will be used for authorizing 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. | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2017/CVE-2017-12635.yaml | POC Details |
| 7 | None | https://github.com/Threekiii/Awesome-POC/blob/master/%E6%95%B0%E6%8D%AE%E5%BA%93%E6%BC%8F%E6%B4%9E/Apache%20CouchDB%20%E5%9E%82%E7%9B%B4%E6%9D%83%E9%99%90%E7%BB%95%E8%BF%87%E6%BC%8F%E6%B4%9E%20CVE-2017-12635.md | POC Details |
| 8 | None | https://github.com/chaitin/xray-plugins/blob/main/poc/manual/couchdb-cve-2017-12635.yml | POC Details |
| 9 | https://github.com/vulhub/vulhub/blob/master/couchdb/CVE-2017-12635/README.md | POC Details |
No public POC found.
Login to generate AI POC| CVE-2017-12636 | Apache CouchDB 安全漏洞 | |
| CVE-2017-12624 | Apache CXF 安全漏洞 |
No comments yet