Skip to content
Memory corruption Disclosed report Beginner

Unprotected Api EndPoints

The report claims that several internal API endpoints lack rate limiting, allowing an authenticated user to automate endless requests with a script. This could lead to heavy server load, potentially causing a denial of service or buffer overflow.

kaushalag29 Follow

Originally disclosed on HackerOne

  • Disclosed after 3 days

Summary:

I am able to automate the get/post requests of the following api end-points with a python script which can lead to heavy load to server resulting in dos attack or buffer overflow. /internal_api/v0.2/getSuggestedProjects /internal_api/v0.2/getLanguages /internal_api/v0.2/getLoggedInUser /internal_api/v0.2/getSecuritySettings /internal_api/v0.2/getActiveOAuthGrants /internal_api/v0.2/getAccountEmails /internal_api/v0.2/getExternalAccounts /internal_api/v0.2/getAuthenticationProviders /internal_api/v0.2/getActivePRIntegrations /internal_api/v0.2/getProjectLatestStateStats /internal_api/v0.2/getBlogPosts /internal_api/v0.2/setUsername /internal_api/v0.2/savePublicInformation

Steps To Reproduce:

[add details for how we can reproduce the issue]

  1. Create an account lgtm-com.pentesting.semmle.net.
  2. Get The cookie and nonce value of your logged in session by intercepting post/get requests with burpsuite.
  3. Use the cookie and nonce value in dos.py script(attached) inorder to execute endless api calls. 4.Watch Video Attached as POC.

Supporting Material/References:

[list any additional material (e.g. screenshots, logs, etc.)] Video and Script is attached.

  • [attachment / reference]

Impact

Leading to heavy load on server that can lead to dos attack or buffer overflow using post requests with no rate limit restriction.

Attachments

Kazam_screencast_00001.mp4 From the original on HackerOne
Kazam_screencast_00000.mp4

The original report as published on HackerOne, by kaushalag29. 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

Root cause

Likely the API endpoints lack rate limiting, allowing an authenticated user to send unlimited automated requests.

Impact

The lack of rate limiting could allow an authenticated attacker to overload the server, potentially causing a denial of service or buffer overflow.

What the attacker needed

A free account; ability to intercept requests

How it was found

  1. Create an account on the target site.
  2. Intercept a logged-in request with a proxy tool to capture the session cookie and nonce value.
  3. Use the captured cookie and nonce in a provided script to send endless API calls.
  4. Observe the effect as shown in the attached video.

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.

An API endpoint is a web address that a program can call to get or change data. The report says these addresses have no limit on how many times you can call them, so a script can hammer them non-stop. That flood of requests could overload the server and stop it working for everyone.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More by kaushalag29

View all

1 more disclosed report, best first.

More from Semmle

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.