You are aware the jail breaking exists, right? So iPhones aren't so secure.
What's your benchmark? If you have access to the hardware virtually everything can be jailbroken. With the iPhone, however, you can't do it non-destructively (i.e. you can't get personal information). At least that's my understanding, if I'm wrong please correct me.
However, I am no mobile developer, so take this with a grain of salt.