MobileStorageMounter in Apple iOS before 8.2 and Apple TV before 7.1 does not delete invalid disk-image folders, which allows attackers to create folders in arbitrary filesystem locations via a crafted app.
https://support.apple.com/HT204426
https://support.apple.com/HT204423
http://www.securitytracker.com/id/1031864
http://lists.apple.com/archives/security-announce/2015/Mar/msg00001.html
http://lists.apple.com/archives/security-announce/2015/Mar/msg00000.html