This site is the archived OWASP Foundation Wiki and is no longer accepting Account Requests.
To view the new OWASP Foundation website, please visit https://owasp.org
Top 10 2014-I1 Insecure Web Interface
|Threat Agents||Attack Vectors||Security Weakness||Technical Impacts||Business Impacts|
|Application / Business Specific|
|Consider anyone who has access to the web interface including external users, internal users, and administrators.||Attacker uses weak default credentials, captures plain-text credentials or enumerates accounts to access the web interface. Depending on setup, attack could come from external or internal users.||An insecure web interface is present when easy to guess or well known default credentials are used. Insecure web interfaces are prevalent as manufacturers strive to make interfaces easier for users to use and assume these interfaces will not be exposed to external users. They are often found in devices which have features that can only be accessed via the web interface. Issues with the web interface are easy to discover when examining the interface manually and frequently easy to discover via automated testing.||Insecure web interfaces can result in data loss or corruption, lack of accountability, or denial of access and can lead to complete device takeover.||Consider the business impact of compromised devices and in turn compromised customers. All data could be stolen, modified, or deleted. Could your users be harmed?|
Am I Vulnerable To 'Injection'?
The simplest way to find out if you have an insecure web interface is to review the initial setup process and determine if the username, password or both can be changed and if the password is required to be long and complex.
Attempting to set usernames to simple passwords such as "1234" is a fast and easy way to determine the security of the web interface. Manual testing can help a security analyst find instances where weak passwords are allowed, default credentials are not required to be changed or account enumeration is possible. Penetration testers can validate these issues by running enumerating usernames and conducting brute-force attacks against those usernames.
Automated dynamic scanning which exercises the application will provide insight into whether these issues exist as well.
How Do I Prevent 'Injection'?
Ensuring a secure web interface requires:
Example Attack Scenarios
Scenario #1: The web interface uses easily guessable default usernames and passwords.
Username = Admin; Password = password
Scenario #2: Username and password in the clear over the network.
POST /login.htm HTTP/1.1 ... userid=admin&pass=pass
In the cases above, the attacker is able to either easily guess the username and password or is able to capture the username and password as it crosses the network.