A vulnerability in the Apple iPhone has been demonstrated at the Black Hat conference in Las Vegas.