Improper Authorization in orchardcms/orchardcore

Valid

Reported on

Feb 24th 2022


Description

A low-privilege user (I tested it with Editor priv user) can create any role in the application.

Proof of Concept

Make a POST request to /Admin/Roles/Create using low-priv user's cookie and __RequestVerificationToken

A new role will be created with the specified name.

Impact

A low-priv user can create a number of roles which breaks the authorization principle of this application.

We are processing your report and will contact the orchardcms/orchardcore team within 24 hours. 3 months ago
We have contacted a member of the orchardcms/orchardcore team and are waiting to hear back 3 months ago
We have sent a follow up to the orchardcms/orchardcore team. We will try again in 7 days. 3 months ago
orchardcms/orchardcore maintainer validated this vulnerability 3 months ago
Rohan Sharma has been awarded the disclosure bounty
The fix bounty is now up for grabs
We have sent a fix follow up to the orchardcms/orchardcore team. We will try again in 7 days. 3 months ago
orchardcms/orchardcore maintainer confirmed that a fix has been merged on b7096a 2 months ago
The fix bounty has been dropped
AdminController.cs#L73-L123 has been validated
to join this conversation