More than 30,000 illegal in-app purchases in iOS have occurred as a result of a Russian hacker.