CVE-2014-7951 adb backup archive path traversal file overwrite

Posted by Imre RAD on Apr 17

ADB backup archive path traversal file overwrite
————————————————

Using adb one can create a backup of his/her Android device and store it
on the PC. The backup archive is based on the tar file format.

By modifying tar headers to contain ../../ like patterns it is possible
to overwrite files owned by the system user on writeable partitions.

An example pathname in the tar header:…