Skip to content
DoS Disclosed report Beginner

Zomato Map server going out of memory while resizing map image

The static map endpoint accepted an oversized image size parameter, causing the server to spend excessive resources and time out. An attacker could repeatedly request large maps to make the map feature unavailable.

mchinmoy Follow

Originally disclosed on HackerOne

Informational View original
  • Disclosed after under an hour

Go to

https://maps.zomato.com/php/staticmap?center=0,0&size=240x150&maptype=zomato&markers=180,180,pin_res32&sensor=false&scale=%&zoom=eval(2147483647+1)&language=en

a map will be displayed

Now increase the map size by 10x

https://maps.zomato.com/php/staticmap?center=0,0&size=2400x1500&maptype=zomato&markers=180,180,pin_res32&sensor=false&scale=%&zoom=eval(2147483647+1)&language=en

It will always timeout after waiting from 1-15 minutes

POC video is attached.

Impact

Zomato Map servers can be bought down making map feature completely non functional and causing millions of dollars loss for Zomato.

Attachments

Zomato_Map_Server_Going_Out_Of_Memory.mp4 From the original on HackerOne

The original report as published on HackerOne, by mchinmoy. 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 server did not limit the requested image dimensions, so a large size caused excessive memory or CPU use.

Impact

The map feature could become completely non-functional, and the report claims this could cause millions of dollars in loss.

What the attacker needed

None

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 website that generates map images can be asked to make a very large picture. If the picture is too big, the server works so hard that it stops responding to normal requests. This report shows that asking for a much larger map made the server time out.

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.

More from Eternal

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.