You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the refactoring introduced in #76 the sanitizePath method, moved from the file store to a utility method, can no longer check the path passed points to a file within the data store directory. The corresponding test was disabled.
This creates a security risk that a forged URL could download any file using the store server.
After the refactoring introduced in #76 the sanitizePath method, moved from the file store to a utility method, can no longer check the path passed points to a file within the data store directory. The corresponding test was disabled.
This creates a security risk that a forged URL could download any file using the store server.
The risk is mitigated because the store server does not get the URL to the file directly from user-supplied input. The URL is obtained from the object store using the object ID.
The text was updated successfully, but these errors were encountered: