YesWiki
YesWiki: Unauthenticated arbitrary page deletion via `{{erasespamedcomments}}` action
YesWiki is a wiki system written in PHP. Prior to version 4.6.6, the {{erasespamedcomments}} wiki action (actions/EraseSpamedCommentsAction.php) accepts a suppr[] array from POST and deletes every wiki page whose tag appears in that array, with no authorization check anywhere in the action body or in the page-deletion path it invokes. Combined with YesWiki's allow-by-default action ACL model, any user who has page write access, which is the default for everyone (default_write_acl='*') on a fresh install can permanently delete arbitrary wiki pages, including the front page, admin pages, and pages owned by other users. This issue has been patched in version 4.6.6.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 4.6.6
Fixed in 4.6.6
Mitigation
Upgrade yeswiki to 4.6.6 or later.
References
- Vendor advisory github.com/YesWiki/yeswiki/security/advisories…
- Patch github.com/YesWiki/yeswiki/commit/ed5b548a705c…
- Release notes github.com/YesWiki/yeswiki/releases/tag/v4.6.6
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.