Bypass Wordpress 403 In Bank Website
The author found that a bank's WordPress admin login page returned a 403 block, but the login script path itself still responded. By appending extra path characters to the login URL, the block was bypassed and the login page loaded.
Published on systemweakness.com
Few day ago i was was sitting in my room and I decided to open a bank application and there was lot of things was going on I decided to check it out what is going on there and how can I login or Bypass
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 blocking rule matched only the exact login path, so a slightly altered path reached the same script without matching the rule.
Impact
The author could reach the WordPress login page that the site had tried to block, though no further access or compromise is shown.
What the attacker needed
Target runs WordPress; a blocking rule on the login path
The fix
The block should be applied to the login script itself rather than to one exact address, so altered paths are refused too.
How it was found
- Visit the WordPress admin login address and observe the access denied response.
- Run a WordPress scanner against the site to gather information.
- Adjust the scanner to ignore the redirect it reported.
- Try the login script address directly and note it is still blocked.
- Append extra characters to the login address and see the page load.
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 website can be told to refuse certain addresses, such as the admin login page, by returning a '403' message meaning access denied. Here the block only matched the exact address, so adding extra characters to the end of the address made the request look different and it was let through. That let the person reach the login page they were not supposed to see.
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.