Skip to content
Access control Disclosed report Beginner

Bypassing Garbage Collection with Uppercase Endpoint

The report shows that an access control rule blocking the /api/metrics endpoint can be bypassed by requesting the same path in uppercase (/api/METRICS). An attacker could then access sensitive metrics data that was meant to be forbidden.

h1xploit Follow

Originally disclosed on HackerOne

  • Triaged in 5 hours
  • Fixed in 2 months
  • Disclosed after 2 months

Summary by the program

The report

Summary:

This report highlights a vulnerability in the garbage collection process, where the endpoint "/metrics" can be bypassed by using uppercase letters. Additionally, it is important to note that if your system contains similar endpoints, they might also be susceptible to the same bypass method. This report aims to provide comprehensive information about the vulnerability and its potential impact.

Steps To Reproduce:

  1. Make an HTTP request to the URL: https://injob.indriver.com/api/metrics
  • curl -X GET "https://injob.indriver.com/api/metrics" -H "Content-Type: application/json"
  • Observe the response, which is expected to be "forbidden" (HTTP 403).
  • Screenshot_(39).png
    Screenshot_(39).png From the original on HackerOne

2.Make another HTTP request to the URL: https://injob.indriver.com/api/METRICS

  • curl -X GET "https://injob.indriver.com/api/METRICS" -H "Content-Type: application/json"

  • Observe the response, which is expected to be "success" (HTTP 200).

  • Screenshot_(40).png
    Screenshot_(40).png From the original on HackerOne

Impact

The impact of this vulnerability includes unauthorized access to sensitive information or resources, potential data manipulation, and a potential risk of further escalation in the system. Furthermore, if other endpoints with similar patterns exist in your system, they might also be vulnerable to the same bypass method, exposing the system to additional security risks.

The original report as published on HackerOne, by h1xploit. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

How it worked

Impact

An attacker could gain unauthorized access to sensitive information or resources, potentially leading to data manipulation and further escalation.

What the attacker needed

None

How it was found

  1. Send a GET request to the lowercase metrics endpoint and observe a 403 Forbidden response.
  2. Send a GET request to the same endpoint with uppercase letters and observe a 200 OK response.

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 report has not been written yet. The Original tab links to the source.

Some websites protect certain pages by checking the exact text of the address. If the check is case-sensitive, changing the address to uppercase might slip past the protection. Here, the protected metrics page was reachable by typing its name in capitals.

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.

More from inDrive

View all

The newest disclosed reports for this program.

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.