Islandora
The module does not properly check access rights when someone uploads or updates media files. An ordinary account on the site could overwrite private files they are not allowed to modify. They would not be able to view any hidden information.
- Who could do thisOnly someone with a login on your site.
- Does it apply to youSites are affected if a user has the access right to update media or to update a piece of content and create media.
- Has it been used in attacksNo sign of it.
- How urgentDrupal rates this moderately critical. Include it in your next routine update, within the month.
Tell your developerUpdate Islandora to 2.19.1.
For developers: what the fix changed
The fix adds file update access checks in MediaSourceService::validateFileWriteAccess to prevent unauthorised file overwrites. It also updates the Islandora Text Extraction submodule's MediaSourceController::attachToMedia to use the shared MediaSourceService::putToMedia method, ensuring destination URI and file extension validation are applied.
Also in this release The release also includes Drupal 11 compatibility fixes, such as replacing deprecated entity storage calls and updating render methods.
islandora.module+18 −9islandora.routing.yml+2 −2 fixmodules/islandora_breadcrumbs/src/IslandoraBreadcrumbBuilder.php+12 −10modules/islandora_iiif/src/Plugin/views/style/IIIFManifest.php+6 −5modules/islandora_text_extraction/islandora_text_extraction.routing.yml+1 −1 fixmodules/islandora_text_extraction/src/Controller/MediaSourceController.php+35 −69 fixphpunit.xml+1 −0src/Controller/MediaSourceController.php+3 −3 fixsrc/EventGenerator/EventGenerator.php+1 −0src/EventSubscriber/JwtEventSubscriber.php+13 −14src/Form/AddChildrenWizard/Access.php+2 −2src/Form/IslandoraSettingsForm.php+3 −3