Skip to content
Access control Write-up Beginner

Access Control Violation - Wiki Page Creation

Anonymous users could register accounts on a MediaWiki site without authorisation, and those accounts could then create wiki pages. This allowed anyone on the internet to add content to a private organisation's wiki, which the organisation did not intend.

machevalia.blog

Published on machevalia.blog

Bug BountyWrite Ups

The author, on machevalia.blog

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the wiki software allowed open account registration and page creation by default, and the organisation did not restrict these permissions.

Impact

Anyone on the internet could add content to the organisation's wiki, which could damage its reputation.

What the attacker needed

Internet access; target runs MediaWiki with open registration

The fix

The organisation should restrict account registration and page creation to authorised users, for example by disabling open registration or using a different content management system with finer-grained access control.

How it was found

  1. Register an account on the target MediaWiki site without any additional authorisation.
  2. Use the account to create a new wiki page.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A wiki is a website where many people can edit pages. The organisation running this wiki wanted only its own people to add content, but the software let anyone sign up and then create new pages. That means an outsider could put their own text on the organisation's site.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.