Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-712

SecurityExceptions are hidden instead of breaking the regular flow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Bug
    • 2.8.0
    • None
    • Utilities
    • Important

    Description

      Several points in the code hide SecurityException. These must always break the regular control flow, if you're not the SecurityManager.

      UseCase A: One wants to configure the SecurityManager and grant permissions. Part of the application is to delete a file. If the permission is missing, cleaning does not work. The missing exception does not allow to recognize that.
      UseCase B: One has activated the SecurityManager. An attacker abuses the relevant method. The missing SecurityException hides this attempt, ones IDS can't alarm.
      UseCase C: One utilizes the SecurityManager to test the system, to ensure every property (like file location) is set properly. The missing SecurityException does not support this UseCase.

      Attachments

        Activity

          People

            Unassigned Unassigned
            xf01213 Boris Unckel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 10m
                1h 10m