Thanks to hacker Anand Prakash, ride-hailing service Uber can breathe a sigh of relief.

Prakash, a ethical hacker from Bengaluru recently revealed a bug in Uber's payment services that could have been used for unlimited lifetime free rides anywhere in the world. This could have meant potentially big losses for Uber, reported TechCrunch.

Anand Prakash/Source: Twitter

But thanks to him, the bug has been fixed by Uber and saved it from incurring huge losses, had someone misused it. Impressed with his finding, Uber has rewarded Prakash $5,000 (around Rs 3.3 lakh).

In a blog post, Prakash revealed how anyone could have used the loophole within the Uber app to gain free rides for life.

Source: Screenshot/http://www.anandpraka.sh

He also uploaded a video on YouTube to explain how he managed to discover the bug:

Prakash then reported the issue through Uber’s bug bounty program, which rewards hackers with cash for finding and reporting security vulnerabilities. Uber fixed the flaw the same day and paid him $5,000.

"Uber's bug bounty programme works with security researchers all over the world to fix bugs, even when they don't directly impact our users. We appreciate Anand's ongoing contributions and were happy to reward him for an excellent report," an Uber spokesperson told TechCrunch.

Well, this is not the first time that Anand has impressed everyone with his bug-finding talent.

He is presently one of the top hackers with Facebook’s White Hat bug finding programme and was the one to find the security flaw with Facebook last year. He was awarded $15,000 (around Rs 10 lakh) by Facebook for reporting the vulnerability through which one can take over anyone’s Facebook account and change the password.

Twitterati congratulated the techie: