curl "globbing" can lead to denial of service attacks
curl's URL globbing feature expands a numeric range into many requests, so a single URL can cause hundreds of requests to a server. An attacker could use this to consume server resources or send traffic to third-party sites, leading to denial of service.
- Disclosed after 31 days
Summary:
[add summary of the vulnerability]
The curl "globbing" allows too much scope, which can cause the server to be denied service or used to attack third-party websites. The globbing allow [1-9999999999999999999] to parse in the url. So when curl request for 'http://127.0.0.1/[1-9999999999999999999]', the can cause 300 requests in the server.
Steps To Reproduce:
[add details for how we can reproduce the issue]
- Listen 8000 port: python -m SimpleHTTPServer 8000
- command: nohup ./curl -vv 'http://127.0.0.1:8000/[1-9999999999999999999]/' &
- Check the server resource process. There are a lot of network requests and CPU consumption.
Supporting Material/References:
[list any additional material (e.g. screenshots, logs, etc.)]
- [attachment / reference]
Impact
With this function, the resources of the server running curl request can be excessively consumed or a large number of URL accesses to other websites can be initiated, resulting in denial of service.
Attachments

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, curl does not limit the number of URLs generated by a glob range, so a very large range causes many requests.
Impact
The server running curl can have its resources excessively consumed, or curl can be used to send many requests to other websites, resulting in denial of service.
What the attacker needed
Ability to run curl with a crafted URL
How it was found
- Start a simple HTTP server on port 8000.
- Run curl with a URL containing a very large numeric glob range.
- Observe many network requests and high CPU usage on the server.
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.
curl is a tool for fetching web pages from the command line. It has a feature called globbing that lets you write a range like [1-10] to fetch ten pages at once. This report says the range can be huge, so one command can make hundreds of requests and overload a server.
What is DoS?
A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.