• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Security Issues in OpenStack
 

Security Issues in OpenStack

on

  • 6,707 views

Presentation of a Master thesis project that analyzed security issues in OpenStack Object Storage - open source cloud storage software.

Presentation of a Master thesis project that analyzed security issues in OpenStack Object Storage - open source cloud storage software.

Statistics

Views

Total Views
6,707
Views on SlideShare
5,638
Embed Views
1,069

Actions

Likes
6
Downloads
0
Comments
0

33 Embeds 1,069

http://secstack.org 760
http://oldbam.blogspot.com 151
http://oldbam.blogspot.no 23
http://oldbam.blogspot.in 21
http://oldbam.blogspot.co.uk 15
http://oldbam.blogspot.com.br 14
http://oldbam.blogspot.fr 8
http://oldbam.blogspot.ru 8
http://oldbam.blogspot.kr 8
http://oldbam.blogspot.de 7
http://oldbam.blogspot.sk 6
http://oldbam.blogspot.ro 6
http://oldbam.blogspot.ie 6
http://oldbam.blogspot.cz 5
http://oldbam.blogspot.ch 3
http://secstack.com 3
http://oldbam.blogspot.se 3
http://oldbam.blogspot.nl 3
http://secstack.net 2
http://www.blogger.com 2
http://www.secstack.net 2
http://oldbam.blogspot.com.es 2
http://www.linkedin.com 1
http://oldbam.blogspot.be 1
http://oldbam.blogspot.jp 1
http://oldbam.blogspot.dk 1
http://oldbam.blogspot.co.il 1
http://oldbam.blogspot.co.nz 1
http://webcache.googleusercontent.com 1
http://oldbam.blogspot.com.ar 1
http://oldbam.blogspot.fi 1
http://oldbam.blogspot.tw 1
http://oldbam.blogspot.pt 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Security Issues in OpenStack Security Issues in OpenStack Presentation Transcript

    • Security Issues in OpenStack Master's thesis Rostyslav Slipetskyy Supervisors: Prof. Danilo Gligoroski (NTNU, Norway) Associate Prof. Christian W. Probst (DTU, Denmark)
    • What is OpenStack? Open source software to build private and public clouds. The mission of OpenStack is "to produce the ubiquitous open source cloud computing platform that will meet the needs of public and private clouds regardless of size, by being simple to implement and massively scalable"
    • What is OpenStack? (2) + Nova : Cloud Controller Swift : Cloud Storage =
    • What is OpenStack? (3)
    • Why Do We Concentrate on Security?
      • The most important concern of the cloud model according to the survey of IT executives and their line-of-business colleagues conducted by International Data Corporation.
      • From a NIST report on cloud computing prepared for use by U.S. Government, “security challenges [that] cloud computing presents are formidable”
      • Researchers from Massachusetts Institute of Technology (MIT), "securing cloud computing is the information technology’s next grand challenge”
    • Main Objective
      • Analyze how various security issues are handled in OpenStack.
    • Methodology
      • 1. Examine evolving standards and recommendations to identify a set of problems pertinent to cloud computing security
      • 2. Install OpenStack in a virtualized environment that emulates a cloud datacenter
      • 3. Evaluate whether identified issues are taken care of in OpenStack
      • 4. If a given area of security concern was handled in OpenStack:
        • - Analyze implementation for weaknesses using black-box and white-box testing approaches
      • 5. If a given area of security concern was not handled in OpenStack:
        • - Raise the issue among the developers using mailing list, IRC channel, etc.
        • - Suggest possible implementation to handle the identified security issue in OpenStack
    • Identifying Security Issues Relevant to Cloud Computing
      • 1. Cloud Security Alliance (international organization consisting of industry representatives)
        • “ Security Guidance for Critical Areas of Focus in Cloud Computing”
      • 2. European Network and Information Security Agency (government-funded institution from EU)
        • “ Cloud Computing Security Risk Assessment”
      • 3. National Institute of Standards and Technology (government-funded institution from the USA)
        • “ Guidelines on Security and Privacy in Public Cloud Computing”
    • Tackling Project Size and Requirements
      • 1. We selected one project from OpenStack family:
        • - OpenStack Object Storage, Bexar release (February 2011)
          • Open source software for creating redundant, scalable object storage using clusters of standardized servers to store petabytes of accessible data
      • 2. We concentrated on the following groups of security issues:
        • - Identity and Access Management
        • - Data Management
    • OpenStack Installation
    • Identity and Access Management Security Issues
      • 1. Identity Provisioning/Deprovisioning
      • 2. Identity Federation
      • 3. Authentication
      • 4. Authorization and Access Control
    • Authentication: Workflow
    • Authentication Systems: Devauth
      • User data (passwords, groups) are stored in SQLite database
    • Authentication Systems: SWAuth
      • User data (passwords, groups) are stored as files in Object Storage
    • Authentication: Security Token Generation
      • 1. Security tokens in OpenStack play the same role as session identifiers for web applications
      • 2. OWASP WebScarab tool was modified to support analyzing OpenStack tokens in the same way as session identifiers
      • 3. UUID version 4 was found to be used to generate tokens, which used /dev/urandom on Ubuntu as a source of randomness
    • Authentication: Portability of stored data
      • Administrators can the possibility to retrieve authentication data of users belonging to the accounts that they manage
      • Step 1. Enumerate all registered users.
    • Authentication: Portability of stored data (2)
      • Administrators can the possibility to retrieve authentication data of users belonging to the accounts that they manage
      • Step 2. Query authentication data for each of the users
    • Authentication: Portability of stored data (3)
      • Reseller Admin — special type of administrators with permission to create new accounts (register new customers in the system)
      • While studying portability of authentication data in swauth, we found a security vulnerability that allowed mallicious Admin to obtain credentials of Reseller Admin. OpenStack Object Storage allowed Admin to retrieve user data for all the users that belonged to the owned account. If it happens that Reseller Admin is registered in the given account, malicious Admin can issue a HTTP GET call and obtain his password.
    • Authentication: Portability of stored data (4)
    • Authentication: Portability of stored data (5)
    • Authorization: Inadequate Permissions of Reseller Admins
      • 1. Different type of administrators exist in OpenStack:
        • - Super Admin
        • - Reseller Admin
        • - Admin
      • 2. Documentation did not clearly state permissions of Reseller Admins
      • 3. Experiment was conducted to authenticate Reseller Admin and use obtained authentication token to access accounts to which the given Reseller Admin did not belong
      • 4. We show that knowing an URL to a storage account, a Reseller Admin can download or even delete files belonging to any user on any of the accounts
      • 5. We also show how Reseller Admins can obtain URLs to existing storage accounts
    • Authorization: Inadequate Permissions of Reseller Admins (2)
      • 1. Developers were notified about a found issue
      • 2. Developer response can be summarized as following:
        • - It is not a bug, but a feature (e.g. Reseller Admin might need to perform data migration on behalf of a user)
        • - Other authorization systems can be used with OpenStack (however, they are not provided out-of-the-box)
      • 3. We suggest users to encrypt sensitive information before uploading to OpenStack Object Storage
    • Authorization: Inadequate Permissions of Reseller Admins (3)
      • Richard Stallman:
        • “ Let any Tom, Dick and Harry hold your data, let any Tom, Dick and Harry do your computing for you (and control it). Perhaps the term 'careless computing' would suit [cloud computing] better.”
    • Data Management Security Issues
      • 1. Data Location
      • 2. Isolation
      • 3. Backup and Recovery
      • 4. Deletion
      • 5. Encryption and Key Management
      • 6. Integrity Verification
    • Isolation of files in OpenStack
      • Account + container + object + salt
      MD5 hash function Path to the file on the storage node
    • Isolation of files in OpenStack (2)
      • 1. Experiment was conducted to verify whether isolation depends only on the output of MD5 hash function:
        • - Created a dummy implementation of hash function that returned the same hash value whenever called
        • - Changed OpenStack code to use dummy implementation of hash function when calculating path for files
        • - Uploaded fileA to containerA on accountA using credentials of userA
        • - Uploaded fileB to containerB on accountB using credentials of userB
        • - The file uploaded by userB overwrites the file uploaded by userA
    • Isolation of files in OpenStack (3)
      • 1. MD5 seems to be resistant to pre-image attacks according to the current level of knowledge in the public domain
      • 2. MD5 is not resistant to collision attacks
      • 3. How can we abuse OpenStack isolation by using collision attack:
        • - Negotiate contractual agreement with the Provider according to which the latter is responsible to prevent loss of data belonging to the former
        • - Generate two file names that will hash to the same value (insider knowledge of the used hash is required)
        • - Upload two files to OpenStack (second file will overwrite first one)
        • - Sue Provider for data loss
    • Summary
      • Main outcomes of the Master's project:
      • - A list of security issues to be used when evaluating security of cloud solutions was compiled
      • - Security vulnerability that allowed administrators with lower permissions to obtain credentials of administrators with higher permissions was reported
      • - Inadequately high permissions of one type of administrators, which allowed to read/delete all the files of all the users, were reported
      • - Poor password management procedures in the provided authentication systems were shown
      • - A possibility to compromise isolation of files with subsequent overwrite of one file by another was found
    • Questions ?