Apple knows how entitlements work and scan every release you try to upload for distribution. The app bundle is signed with an Apple signing key when it goes live, so you can't just randomly change the file once it is on the device.
Re:Stealing your SMS messages with iOS 0day
by saagarjha on Tuesday May 05, 2020 @01:52AM
(#23076925)
Evidently Apple does not know how they work, as their multiple parsers can’t get them right ;)
If their scan included an XML parser with the same flaw as CFPropertyListCreateWithData, then yes you could get it published without them noticing.
Re:Stealing your SMS messages with iOS 0day
by neximo64 on Tuesday May 05, 2020 @12:54AM
(#23076653)
Apple tracks every time you change it and manually reviews it. In even more sophisticated means after what Uber did.
Re:Stealing your SMS messages with iOS 0day
by saagarjha on Tuesday May 05, 2020 @01:47AM
(#23076902)
Note that Uber was given that entitlement by Apple. It was explicitly granted an exception to use a private entitlement (which is in of itself unusual) and then submit such an app to the App Store.
Re:Stealing your SMS messages with iOS 0day
by aeternum on Tuesday May 05, 2020 @06:41PM
(#23085984)
Apple's XML parsers apparently are not catching this due to the comment trick.
So the security relies on a human catching it. There are many ways to hide text from a human, IE padding it out with whitespace, character encoding tricks, etc.
Since apps now auto-update each night any one of your apps could theoretically add this code tonight couldn't they?