"An attacker could trick a user to silently record his webcam video and publish it to his Facebook wall, without the user even knowing about it," according to Aditya Gupta, the Indian security researcher who discovered the flaw. Gupta and fellow security researcher Subho Halder from XY Security earned a $2,500 reward from Facebook for discovering the Cross-Site Request Forgery (CSRF) bug, which stemmed from a failure to apply adequate security controls. Gupta notified Facebook about the "Peeping Tom" bug in July but the social networking giant only recently rolled out a fix.
A video by XY Security illustrating the resolved webcam vulnerability can be found here."
Link to Original Source