Web server and application server configurations has a major role in maintaining the security of a web application. In computer, the localhost is considered the computer itself. The localhost is used to test web services in the system through loop-back network interface. The older versions of WordPress treat localhost as same host. This is done by default by the WordPress. The attacker can scan the server by using WP Security Plugin tool. The result generated by the tool will provide the source code of the application.