Bypassing 403 Protection To Get Pagespeed Admin Access (2024)

Hello guys👋👋,Prajit here from the BUG XS Team, it’s been a long time since my last story, sorry for the delay was held back in exams and viva😅. So anyway, in this story I will talk about one of my finding “Bypassing 403 Restrictions and gaining access to Global Pagespeed Admin Panel

So whenever you visit some restricted resource you generally get 403-Forbidden message.

Bypassing 403 Protection To Get Pagespeed Admin Access (2)

But should you stop right here🤔? Obviously no😈, always try to break into these restrictions to get sensitive data or access to restricted resource.

There are many headers and paths which you can use to bypass 403 restrictions.

  1. Adding in URL Paths: Adding this in paths of the URL and the file which is forbidden
    /*
    /%2f/
    /./
    /
    /*/
  2. Adding Headers in request :By adding different headers in request with value 127.0.0.1 can also help in bypassing restrictions.

X-Custom-IP-Authorization
X-Forwarded-For
X-Forward-For
X-Remote-IP
X-Originating-IP
X-Remote-Addr
X-Client-IP
X-Real-IP

Reference: https://github.com/yunemse48/403bypasser

3. Changing the request method type: Changing method from GET to POST , etc can also lead to bypass.

Reference: https://infosecwriteups.com/403-forbidden-bypass-leads-to-hall-of-fame-ff61ccd0a71e

So now this is a general concept and methodologies for bypassing 403, now let’s move forward to what I did in my case.

1)First I went to pagespeed admin panel location http://target.com/pagespeed_admin/ and found out it was 403-Forbidden.

Bypassing 403 Protection To Get Pagespeed Admin Access (3)

2)I used the above specified methods via a automated tool (which is basically a bash script for 403 bypass methods)

Link: https://github.com/iamj0ker/bypass-403

Found that in one case response code changed from 403 -> 200, so I tested it manually in browser and it finally BYPASSED!!😈

3)Method was http://target.com//pagespeed_admin/ just adding single slash bypassed the 403 and got complete access to pagespeed admin.

Bypassing 403 Protection To Get Pagespeed Admin Access (4)

This was taken as a P2-High Severity, but since their low reward ranges I was rewarded 200 Eur for it.

Bypassing 403 Protection To Get Pagespeed Admin Access (5)

So this is all about this write-up, hope you liked it, if you found this informative, do not forget to clap👏 and do let me know if you have any doubts✌️. I am also planning a new series for a writeup which I will start soon, so stay tuned, and hit that follow button.

Thanks For Reading😊

Profile Links:

Twitter: https://twitter.com/SAPT01

LinkedIn: https://www.linkedin.com/in/prajit-sindhkar-3563b71a6/

Instagram: https://instagram.com/prajit_01?utm_medium=copy_link

BUG XS Official Website: https://www.bugxs.co/

Bypassing 403 Protection To Get Pagespeed Admin Access (2024)

FAQs

How to get past forbidden 403? ›

Misconfigured file permissions, .htaccess file errors, and WordPress plugin conflicts are common causes of 403 errors. To fix a 403 error, try resetting file permissions, restoring the .htaccess file, deactivating plugins, or contact your hosting provider for assistance.

How do I get around response 403? ›

Error 403 in Web Scraping: Easy Solutions
  1. Scraping API to Bypass Error 403.
  2. Set a Fake User Agent.
  3. Complete Your Headers.
  4. Avoid IP Bans.
  5. Make Requests through Proxies.
  6. Use a Headless Browser.
  7. Use Anti-Cloudflare Plugins.
Aug 14, 2023

What is the vulnerability of 403 bypass? ›

The vulnerability of bypassing 403 endpoints occurs when an attacker is able to access resources that should be restricted by the server's access control mechanisms.

What is bypass 403 status code? ›

Here are four solutions to bypass the 403 web scraping error from Cloudflare.
  • Use a Web Scraping API. Web scraping APIs like ZenRows are designed to handle the complexities of a Cloudflare 403 Forbidden bypass. ...
  • Get Premium Proxies. ...
  • Bypass Fingerprinting with a Headless Browser. ...
  • Fortify Your Headless Browser.
Oct 20, 2023

How to bypass access denied? ›

The quickest and easiest way to solve an access denied error is by clearing your browser data. Furthermore, you might want to disable any VPN extensions or proxies, or resetting the browser altogether.

Does 403 Forbidden mean I'm blocked? ›

If you are seeing a 403 forbidden message, it means that the website's content you are trying to access is being blocked for some reason. While there are many justifications as to why this is happening, it is likely that it is the fault of the website owner or is something to do with the server.

Is web scraping legal? ›

So, is web scraping activity legal or not? It is not illegal as such. There are no specific laws prohibiting web scraping, and many companies employ it in legitimate ways to gain data-driven insights. However, there can be situations where other laws or regulations may come into play and make web scraping illegal.

How to fix 403 Forbidden on Chrome? ›

5 Troubleshooting Steps for Fixing 403 Forbidden Chrome Errors
  1. Refresh the page. This is the simplest and quickest way to fix a 403 error. ...
  2. Check the URL. ...
  3. Clear your browser cookies and cache. ...
  4. Disconnect from your VPN. ...
  5. Contact the website or your ISP. ...
  6. Deactivate WordPress plugins. ...
  7. Restore the . ...
  8. Adjust your file permissions.

What is web page scraping? ›

Web scraping is the process of using bots to extract content and data from a website. Unlike screen scraping, which only copies pixels displayed onscreen, web scraping extracts underlying HTML code and, with it, data stored in a database. The scraper can then replicate entire website content elsewhere.

Why am I forbidden from a website? ›

A “403 Forbidden” error occurs when a web server receives a request from a client (usually a web browser) to access a specific resource, but the server refuses to fulfill the request due to insufficient permissions or other security-related reasons.

How to bypass you do not have permission to view this directory or page using the credentials that you supplied? ›

Correcting the "You do not have permission to view this directory or page." issue.
  1. Ensure that the website is configured to use the correct user identity.
  2. Check the folder and file permissions for the website.
  3. Check the application pool identity for the website.
  4. Check the IIS settings for the website.
  5. Check the web.
Oct 23, 2023

How do I recover a forbidden download? ›

Check your virus-scanning software for details about why the file was blocked. On Windows: Windows Attachment Manager could have removed the file you tried to download. To check which files you can download or why your file was blocked, check your Windows internet security settings.

Top Articles
Latest Posts
Article information

Author: Rev. Porsche Oberbrunner

Last Updated:

Views: 6506

Rating: 4.2 / 5 (53 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Rev. Porsche Oberbrunner

Birthday: 1994-06-25

Address: Suite 153 582 Lubowitz Walks, Port Alfredoborough, IN 72879-2838

Phone: +128413562823324

Job: IT Strategist

Hobby: Video gaming, Basketball, Web surfing, Book restoration, Jogging, Shooting, Fishing

Introduction: My name is Rev. Porsche Oberbrunner, I am a zany, graceful, talented, witty, determined, shiny, enchanting person who loves writing and wants to share my knowledge and understanding with you.