What is ANI (Asian News International) ?
The Amazon AWS instance storing ANI News images had HTTP PUT and DELETE methods enabled, allowing anyone to upload or delete files. An attacker could have deleted all images or replaced the logo with a malicious one.
medium.com
Published on medium.com
ANI News is one of the very famous private news media outlets based in India. It claims to provide multimedia news to 50 bureaus in India and most of South Asia.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
Anyone could have deleted the entire images stored on their AWS, and could have replaced the logo with a new image, potentially causing public attention.
What the attacker needed
None
The fix
The bug has been resolved now, though the author is unaware of who patched it.
How it was found
- Notice that ANI uses an Amazon AWS instance to store website images.
- Test the instance and find that HTTP PUT and DELETE methods are enabled.
- Delete an image from an old article as a test.
- Upload a .text file as a proof of concept.
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 write-up has not been written yet. The Original tab links to the source.
The website stored its pictures on a cloud storage service (Amazon AWS). That storage was set up so that anyone on the internet could add or remove files, not just the website owner. This is like leaving a shared folder open to the public with no password.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.