If you are syncing an iPhone database with a remote database , do not trust the content . Database injection does not require SQL Injection. Jailbroken iPhone gives the user full access to the entire file system, which includes the sqlite database file, so this can be changed, however the attacker wants to. This is not sql injection, it is a client side vulnerability.
SQL injection under sqlite is useful to an attacker. Unlike MySQL, Sqlite allows you to stack queries, so an attacker can always create / delete / insert / update / delete / select / etc. no matter what query is affected by SQL injection. In MySQL, it is common to select subsets or joins to select specific data, but for example, you cannot turn a select statement into an insert under normal conditions.
source share