Navgix - A Multi-Threaded Golang Tool That Will Check For Nginx Alias Traversal Vulnerabilities
navgix is a multi-threaded golang tool that will check for nginx alias traversal vulnerabilities
Techniques
Currently, navgix supports 2 techniques for finding vulnerable directories (or location aliases). Those being the following:
Heuristics
navgix will make an initial GET request to the page, and if there are any directories specified on the page HTML (specified in src attributes on html components), it will test each folder in the path for the vulnerability, therefore if it finds a link to /static/img/photos/avatar.png, it will test /static/, /static/img/ and /static/img/photos/.
Brute-force
navgix will also test for a short list of common directories that are common to have this vulnerability and if any of these directories exist, it will also attempt to confirm if a vulnerability is present.
Installation
git clone https://github.com/Hakai-Offsec/navgix; cd navgix;go build
Acknowledgements
Via: www.kitploit.com
![Navgix - A Multi-Threaded Golang Tool That Will Check For Nginx Alias Traversal Vulnerabilities](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2WydXXyVMdGipnXOZQtqAD_kDKFIrlaz1X5Phhb7GX3Vuvm7ngRzbOia1C0l3Tu1lNuEpwYkRhulc0HryMaFohJPJXSk2Jh2SSyvnWtZS2-lgcTWjHN8CcugZXhG9nwlJNj0Ugcdj1Noclfig2SVJrwbiznpUfER6or2zqsK5pX2YtjgslfLWmWdZOXuU/s72-w640-c-h366/Navgix.png)