Description
OrchardCore through 3.0.1 contains a missing authorization vulnerability in the POST api/content endpoint that allows authenticated users to publish existing content without the PublishContent permission. Attackers holding AccessContentApi and EditContent can submit an existing ContentItemId without the draft parameter to bypass editorial approval and make unapproved content live.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
OrchardCMS OrchardCore
Default version status: unaffected
0 to ≤ 3.0.1affected
pkg:nuget/OrchardCore.ContentsReferences
- https://github.com/OrchardCMS/OrchardCore/blob/v3.0.1/src/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/CreateEndpoint.cs#L95-L127 ↗
- https://github.com/OrchardCMS/OrchardCore/blob/v3.0.1/src/OrchardCore.Modules/OrchardCore.Contents/Endpoints/Api/CreateEndpoint.cs#L65-L70 ↗
- https://www.vulncheck.com/advisories/orchardcore-through-3.0.1-missing-authorization-via-post-api-content-publishing ↗