The Indian security expert and bug hunter Avinash has accessed and downloaded the entire Vine source code and it was really easy.
A hacker has accessed and downloaded the source code of the Twitter’s Vine application. Vine is a short-form video sharing service, acquired by Twitter in 2012, that allows users to share small videos of 6 seconds looping them.
The security expert and bug hunter Avinash has discovered a flaw in Vine that allowed him to download a Docker image containing the source code of the application.
Docker is a widely used open platform for developers and sysadmins to build, ship, and run distributed applications, it allows administrators to run more apps on the same old servers.
While running a penetration test, Avinash surprisingly discovered that Vine was using Docker images publicly available online.
Avinash used the Censys.io search engine to find dockers images online, and he found more that 80 images.
“Censys.io gave me an interesting URL https://docker.vineapp.com in its result.” Avinash wrote in a blog post. “If it is supposed to be private, then why is it publicly accessible? There has to be some thing else to going on here. On googling /* private docker registry */ I get to know that the docker provides a functionality which allows a developer to host and share images through the web.”
One of the images named ‘vinewww‘ was related to the Vine application, he downloaded it and examined it with a docker image viewer.
He could not believe what I had found! The complete source code of the Vine platform was on the screen. The code includes API keys as well as third-party keys.
“I was able to see the entire source code of vine, its API keys and third party keys and secrets. Even running the image without any parameter, was letting me host a replica of VINE locally.” added the expert.
The hacker reported the issue to Vine that rewarded him with $10,080 Bounty award. Of course, the problem was fixed in a few minutes.
(Visited 135 times, 1 visits today)