### [CVE-2017-3141](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3141) ![](https://img.shields.io/static/v1?label=Product&message=BIND%209&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=This%20vulnerability%20exists%20in%20the%20installer%20delivered%20with%20BIND%20for%20Windows%20and%20not%20within%20BIND%20itself.%20%20Non-Windows%20builds%20and%20installations%20are%20unaffected.%20%20A%20manual%20installation%20of%20BIND%20where%20the%20service%20path%20is%20quoted%20when%20added%20would%20not%20be%20at%20risk.&color=brighgreen) ### Description The BIND installer on Windows uses an unquoted service path which can enable a local user to achieve privilege escalation if the host file system permissions allow this. Affects BIND 9.2.6-P2->9.2.9, 9.3.2-P1->9.3.6, 9.4.0->9.8.8, 9.9.0->9.9.10, 9.10.0->9.10.5, 9.11.0->9.11.1, 9.9.3-S1->9.9.10-S1, 9.10.5-S1. ### POC #### Reference - https://www.exploit-db.com/exploits/42121/ #### Github - https://github.com/ALTinners/bind9 - https://github.com/ARPSyndicate/cvemon - https://github.com/AndrewLipscomb/bind9 - https://github.com/DButter/whitehat_public - https://github.com/Dokukin1/Metasploitable - https://github.com/Iknowmyname/Nmap-Scans-M2 - https://github.com/NikulinMS/13-01-hw - https://github.com/StepanovSA/InfSecurity1 - https://github.com/Zhivarev/13-01-hw - https://github.com/balabit-deps/balabit-os-7-bind9 - https://github.com/balabit-deps/balabit-os-8-bind9-libs - https://github.com/balabit-deps/balabit-os-9-bind9-libs - https://github.com/pexip/os-bind9 - https://github.com/pexip/os-bind9-libs - https://github.com/psmedley/bind-os2 - https://github.com/smabramov/Vulnerabilities-and-attacks-on-information-systems - https://github.com/zzzWTF/db-13-01