Page MenuHomePhabricator

Major security flaw in protecting pages
Closed, DeclinedPublic

Description

When you add a right in Mediawiki to be used for page protecting, lets say founder, I've went to protect a page, and I've set editing to sysops only and move permissions to founders only. I've then created a account and only gave it sysop rights only, I was able to edit the move rights to a lower level. If a test account with admin rights can do it, so then any other administrator can.


Version: 1.14.x
Severity: major

Details

Reference
bz16344

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:28 PM
bzimport set Reference to bz16344.
bzimport added a subscriber: Unknown Object (MLST).

charlie wrote:

This is a problem with his wiki host, YourWiki. I've instructed him to move his request to our Support Desk there. Changing to closed.

bretthillebrand wrote:

If you also add protect as a protection type that will stop this happening.

charlie wrote:

Do you mean a "restriction level"? Or something different?

bretthillebrand wrote:

Yes , Example Given

$wgRestrictionLevels = array ( '', 'autoconfirmed', 'sysop', 'Staff' );
$wgRestrictionTypes = array( 'edit', 'move', 'delete', 'protect' );

Note how protection itself is a protection type.