Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-3196

Security Problem: Getting full file access within the cache directory from one Bundle

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • framework.security-2.0.0
    • framework.security-2.0.1
    • Framework Security
    • None
    • felix-framework-4.0.1

    Description

      It seems that there is a security problem in the "Framework Security" module of Felix.
      I have full access to the bundle cache directory from each bundle.

      Expectation: I should only get full access to the data storage of the bundle itself.
      Actually I was able to create files from Bundle 25 inside the data storage of Bundle 0.
      I even could delete the whole directory of Bundle 0.

      I checked the same with Knopflerfish which does this check correctly.

      Do I have to set more configuration parameters?
      The OSGi specification defines that the framework should grant access to the bundle's data storage.

      Attachments

        Activity

          People

            karlpauls Karl Pauls
            michael.grammling Michael Grammling
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: