Authentication Bypass and Password disclosure.
A vulnerability exists in the authentication processing module of the SoftPerfect Bandwidth Manager. According to the SoftPerfect FAQ page the system utilises an API consisting of HTTP and XML. Using a packet sniffer to monitor port 8701 we can see that the initial packet exchange for a blank password is: POST / HTTP/1.0Content-Type: text/xmlContent-Length: 100Authorization: Basic YWRtaW46 <?xml version="1.0" encoding="windows-1252"?><request><command>getoptions</command></request>. Basic authentication with a username of admin and a blank password. When this software has no password set, any password seems to authenticate. This is interesting, but ultimately unusual in a proper environment. The bug exists in the authentication mechanism. I was initially going to fuzz the Basic string, only to find that it worked on my first try. Sending the following to the application will completely bypass any password in place (note the strong text in the Authorization line): POST / HTTP/1.0Content-Type: text/xmlContent-Length: 100Authorization: Basic *AAAA* <?xml version="1.0" encoding="windows-1252"?><request><command>getoptions</command></request>. The getoptions command includes dumping a cleartext password from the database to the connection.