Description
Orchard CMS 1.10.3 through 1.11 contains an improper authorization vulnerability in MediaLibraryService.CheckMediaFolderPermission() that allows authenticated Authors and Contributors to access other users' media. Attackers can display, clone, and delete other users' media items by content id and delete arbitrary media folders via FolderController.Delete().
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OrchardCMS | Orchard | 1.10.3 – ≤ 1.11 | — |
References
- https://github.com/OrchardCMS/Orchard/issues/8895 issue-tracking
- https://github.com/OrchardCMS/Orchard/blob/1.11/src/Orchard.Web/Modules/Orchard.MediaLibrary/Services/MediaLibraryService.cs#L281-L302 technical-description
- https://github.com/OrchardCMS/Orchard/blob/1.11/src/Orchard.Web/Modules/Orchard.MediaLibrary/Services/IMediaLibraryService.cs#L169-L177 technical-description
- https://hackmd.io/@hieuPenguinnn/orchard-media-library-cross-user-broken-access-control third-party-advisory
- https://github.com/OrchardCMS/Orchard product
- VulnCheck Advisory: Orchard CMS 1.10.3 through 1.11 Improper Authorization via Media Library Folder Permission Check third-party-advisory