Codeinwp / Codeinwp/wp-maintenance-mode

Bypassing maintenance mode

Open
#114 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
163
Forks
82
Avg merge
8h 31m
Merged PRs (30d)
8

Description

I found out that if I add "mode" variable with value of "login" to GET parameter in URL, I will automatically bypass the maintenance mode.

Maintenance mode:
http://www.example.com/

And bypassed the mode:
http://www.example.com/?mode=login

This should be considered a bug. I did a quick search in the code, but did not find it right now.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported behavior by comparing the maintenance-mode URL with the same URL using the mode=login GET parameter. Trace the maintenance-mode request handling to identify why that parameter bypasses the page; done means the parameter no longer bypasses maintenance mode while normal login behavior remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.