Description
Semantic MediaWiki 7.3.1 before 7.4.1 contains an incorrect authorization vulnerability in EditProtectionUpdater::userMayChangeProtection() that checks protection changes against the page's latest revision author. Editors can add {{#set:Is edit protected=false}} to a transcluded template, removing administrator edit and move protection logged under the administrator's name.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| SemanticMediaWiki | SemanticMediaWiki | 7.3.1 – < 7.4.1 | 7.4.1 |
References
- GitHub Security Advisory (GHSA-gh59-2vh3-6cgm) vendor-advisory
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/commit/32ca6d8fc75735aa7a2ecc573886391da126da9b patch
- SemanticMediaWiki 7.4.1 Release Notes release-notes
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/src/Protection/EditProtectionUpdater.php#L147-L200 technical-description
- https://github.com/SemanticMediaWiki/SemanticMediaWiki/blob/7.4.0/src/DataUpdater.php#L360-L375 technical-description
- VulnCheck Advisory: Semantic MediaWiki 7.3.1 before 7.4.1 Incorrect Authorization via Edit Protection Annotations third-party-advisory