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

Difference between revisions of "Top 10 2014-I6 Insecure Cloud Interface"

From OWASP
Jump to: navigation, search
 
(7 intermediate revisions by one other user not shown)
Line 1: Line 1:
<center>[https://www.owasp.org/index.php/OWASP_Internet_of_Things_Top_Ten_Project#tab=OWASP_Internet_of_Things_Top_10_for_2014 Back To The Internet of Things Top 10]</center>
+
<center>[https://www.owasp.org/index.php/OWASP_Internet_of_Things_Project#tab=Top_10_IoT_Vulnerabilities__282014_29 Back To The Internet of Things Top 10]</center>
  
 
{{Top_10_2010:SummaryTableHeaderBeginTemplate|year=2013|language=en}}
 
{{Top_10_2010:SummaryTableHeaderBeginTemplate|year=2013|language=en}}
Line 22: Line 22:
  
 
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=freetext|title=Is My Cloud Interface Secure?|position=firstLeft|year=2013|language=en}}
 
{{Top_10:SubsectionTableBeginTemplate|type=main}} {{Top_10_2010:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=freetext|title=Is My Cloud Interface Secure?|position=firstLeft|year=2013|language=en}}
Checking for a secure Cloud Interface includes:
+
Checking for a Insecure Cloud Interface includes:
 
* Determining if the default username and password can be changed during initial product setup
 
* Determining if the default username and password can be changed during initial product setup
 
* Determining if a specific user account is locked out after 3 - 5 failed login attempts
 
* Determining if a specific user account is locked out after 3 - 5 failed login attempts
Line 33: Line 33:
 
# Default passwords and ideally default usernames to be changed during initial setup
 
# Default passwords and ideally default usernames to be changed during initial setup
 
# Ensuring user accounts can not be enumerated using functionality such as password reset mechanisms
 
# Ensuring user accounts can not be enumerated using functionality such as password reset mechanisms
# Ensuring account lockout after an appropriate number of tries
+
# Ensuring account lockout after 3- 5 failed login attempts
 
# Ensuring the cloud-based web interface is not susceptible to XSS, SQLi or CSRF
 
# Ensuring the cloud-based web interface is not susceptible to XSS, SQLi or CSRF
 
# Ensuring credentials are not exposed over the internet
 
# Ensuring credentials are not exposed over the internet
 +
# Implement two factor authentication if possible
 +
# Detect or block the abnormal reqests/attempts
  
 +
Please review the following tabs for more detail based on whether you are a [https://www.owasp.org/index.php/OWASP_Internet_of_Things_Top_Ten_Project#tab=Manufacturers Manufacturer], [https://www.owasp.org/index.php/OWASP_Internet_of_Things_Top_Ten_Project#tab=Developers Developer] or [https://www.owasp.org/index.php/OWASP_Internet_of_Things_Top_Ten_Project#tab=Consumers Consumer]
 
{{Top_10_2010:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=example|position=left|risk=1|year=2013|language=en}}
 
{{Top_10_2010:SubsectionAdvancedTemplate|type={{Top_10_2010:StyleTemplate}}|subsection=example|position=left|risk=1|year=2013|language=en}}
 
'''Scenario #1:''' Password reset indicates whether account is valid.
 
'''Scenario #1:''' Password reset indicates whether account is valid.
Line 55: Line 58:
 
{{Top_10_2010:SubSubsectionOWASPReferencesTemplate}}
 
{{Top_10_2010:SubSubsectionOWASPReferencesTemplate}}
  
 +
* [https://www.owasp.org/index.php/Top_10_2013-A1-Injection Top 10 2013-A1-Injection]
 +
* [https://www.owasp.org/index.php/Top_10_2013-A3-Cross-Site_Scripting_(XSS) Top 10 2013-A3-Cross-Site Scripting]
 +
* [https://www.owasp.org/index.php/Top_10_2013-A8-Cross-Site_Request_Forgery_(CSRF) Top 10 2013-A8-Cross-Site Request Forgery (CSRF)]
 
{{Top_10_2010:SubSubsectionExternalReferencesTemplate}}
 
{{Top_10_2010:SubSubsectionExternalReferencesTemplate}}

Latest revision as of 06:37, 5 February 2016

Back To The Internet of Things Top 10
Threat Agents Attack Vectors Security Weakness Technical Impacts Business Impacts
Application Specific Exploitability
AVERAGE
Prevalence
COMMON
Detectability
EASY
Impact
SEVERE
Application / Business Specific
Consider anyone who has access to the internet. Attacker uses multiple vectors such as insufficient authentication, lack of transport encryption and account enumeration to access data or controls via the cloud website. Attack will most likely come from the internet. An insecure cloud interface is present when easy to guess credentials are used or account enumeration is possible. Insecure cloud interfaces are easy to discover by simply reviewing the connection to the cloud interface and identifying if SSL is in use or by using the password reset mechanism to identify valid accounts which can lead to account enumeration. An insecure cloud interface could lead to compromise of user data and control over the device. Consider the business impact of an insecure cloud interface. Data could be stolen or modified and control over devices assumed. Could your customers be harmed? Could your brand be harmed?
Is My Cloud Interface Secure?

Checking for a Insecure Cloud Interface includes:

  • Determining if the default username and password can be changed during initial product setup
  • Determining if a specific user account is locked out after 3 - 5 failed login attempts
  • Determining if valid accounts can be identified using password recovery mechanisms or new user pages
  • Reviewing the interface for issues such as cross-site scripting, cross-site request forgery and sql injection.
  • Reviewing all cloud interfaces for vulnerabilities (API interfaces and cloud-based web interfaces)
How Do I Secure My Cloud Interface?

A secure cloud interface requires:

  1. Default passwords and ideally default usernames to be changed during initial setup
  2. Ensuring user accounts can not be enumerated using functionality such as password reset mechanisms
  3. Ensuring account lockout after 3- 5 failed login attempts
  4. Ensuring the cloud-based web interface is not susceptible to XSS, SQLi or CSRF
  5. Ensuring credentials are not exposed over the internet
  6. Implement two factor authentication if possible
  7. Detect or block the abnormal reqests/attempts

Please review the following tabs for more detail based on whether you are a Manufacturer, Developer or Consumer

Example Attack Scenarios

Scenario #1: Password reset indicates whether account is valid.

Password Reset "That account does not exist."

Scenario #2: Username and password are poorly protected when transmitted over the network.

Authorization: Basic S2ZjSDFzYkF4ZzoxMjM0NTY3

In the cases above, the attacker is able to either determine a valid user account or is able to capture the credentials as they cross the network and decode them since the credentials are only protected using Base64 Encoding.


References

OWASP

External