iOS 8.1 - Could not start com.apple.mobile.installation_proxy!

Bug #1388743 reported by Sebastian F
312
This bug affects 13 people
Affects Status Importance Assigned to Milestone
libimobiledevice (Ubuntu)
Fix Released
High
Unassigned
Xenial
Fix Released
High
Unassigned
libusbmuxd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

* Impact
When running ideviceinstaller -l, I get the following error:
Could not start com.apple.mobile.installation_proxy!

* Test case
connect an iOS >8 device and try to use ideviceinstaller

* Regression potential
It's fixing code that was not working before, should create any new issue

--------

Pairing works and I can mount the phone using iFuse. iPhone 4S, iOS 8.1
libimobiledevice is probably outdated.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: ideviceinstaller 1.0.1-0.2build1
ProcVersionSignature: Ubuntu 3.16.0-24.32-generic 3.16.4
Uname: Linux 3.16.0-24-generic x86_64
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Nov 3 09:33:21 2014
InstallationDate: Installed on 2014-11-02 (0 days ago)
InstallationMedia: Kubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: ideviceinstaller
UpgradeStatus: No upgrade log present (probably fresh install)

CVE References

Revision history for this message
Sebastian F (sf-lp) wrote :
summary: - Could not start com.apple.mobile.installation_proxy! on iOS 8.1
+ iOS 8.1 - Could not start com.apple.mobile.installation_proxy!
Revision history for this message
Sebastian F (sf-lp) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ideviceinstaller (Ubuntu):
status: New → Confirmed
Changed in ideviceinstaller (Ubuntu):
importance: Undecided → High
Revision history for this message
Sebastian F (sf-lp) wrote :

I have build libimobiledevice5 1.1.7 from Debian experimental. I wasn't able to build usbmuxd 1.1.0 because of dependency problems, however. With only libimobiledevice-1.1.7 I still get the same error, so I guess both libimobiledevice and usbmuxd need an update.
On a current Archlinux installation with libimobiledevice-1.1.7 and usbmuxd-1.1.0 things work as expected and I can access the installed applications on my iPhone (currently iOS 8.1.2).
Both packages seem to be stuck in experimental, so I don't know if it's possible to backport them right now.

affects: ideviceinstaller (Ubuntu) → libimobiledevice (Ubuntu)
Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

same here, ios 8.1.2

Could not start com.apple.mobile.installation_proxy!

Revision history for this message
Christopher Yeleighton (giecrilj) wrote :

same here, iOS 8.3

Revision history for this message
Christopher Yeleighton (giecrilj) wrote :

This problem is fixed by updating ideviceinstaller to version 1.1.0. The version available in Ubuntu Software Center is 1.0.1-0.2. Note that you need to upgrade the whole stack because of library dependencies and protocol mismatch (ideviceinstaller 1.1.0 cannot talk to usbmuxd 1.0.8).

Revision history for this message
Christopher Yeleighton (giecrilj) wrote :

Also note that you cannot just remove the outdated package libmobiledevice4 because both ubuntu-session and software-center depend on it, so you will not be able to log in to the desktop or reinstall software-center.

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

I installed ideviceinstaller 1.2.0, from http://www.libimobiledevice.org
but same error,

Could not start com.apple.mobile.installation_proxy!

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ideviceinstaller (Ubuntu):
status: New → Confirmed
Revision history for this message
NoBugs! (luke32j) wrote :

This happens even after installing the 1.2 backport from https://launchpad.net/~martin-salbaba/+archive/ubuntu/ppa+libimobiledevice. iOS 8.3.

Revision history for this message
Dario Rubiano (dario-rubiano) wrote :

Happens to me with iOS 9.2

Revision history for this message
Andrew Smith (yatc18ks0g8zofezrpk3xa7828d-5k-ngeefk4xayt3t4u9watah405veq) wrote :

Also seeing this with latest iOS

description: updated
Changed in ideviceinstaller (Ubuntu):
importance: Undecided → High
status: Confirmed → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libimobiledevice - 1.2.0+dfsg-3~ubuntu1

---------------
libimobiledevice (1.2.0+dfsg-3~ubuntu1) yakkety; urgency=medium

  * debian/patches/git_gnutls_proxy.patch:
    - Fix installation_proxy when using GnuTLS instead of OpenSSL
      (lp: #1388743)
  * debian/patches/git_local_socket.patch:
    - [security fix] Make sure sockets only listen locally

 -- Sebastien Bacher <email address hidden> Mon, 23 May 2016 12:48:38 +0200

Changed in libimobiledevice (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

There is no bug/test case/etc. about the second "listen to local only" patch. Should this go via -security instead? Subscribing security team.

no longer affects: ideviceinstaller (Ubuntu)
no longer affects: ideviceinstaller (Ubuntu Xenial)
Revision history for this message
Seth Arnold (seth-arnold) wrote :

This probably should go through the security pocket.

https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e

Does anyone know if there's already a CVE assigned for this issue?

Thanks

Revision history for this message
Sebastien Bacher (seb128) wrote :

@Seth, I don't think there is. Note that libusbmuxd has a similar issue/fix upstream

https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376dc4e4cb1c991d0aed61ce6482614196

Revision history for this message
Seth Arnold (seth-arnold) wrote :

CVE-2016-5104 was assigned for this issue:
http://www.openwall.com/lists/oss-security/2016/05/26/6

Thanks

Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Sebastian, or anyone else affected,

Accepted libimobiledevice into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/libimobiledevice/1.2.0+dfsg-3~ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in libimobiledevice (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Could someone please test the version in xenial-proposed so I can release it as a security update? Thanks!

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

How can I test it from xenial-proposed, while I use Ubuntu 15.10 ?
I can test it, if you tell in brief, how to do..

Revision history for this message
Sebastien Bacher (seb128) wrote :

the SRU is for 16.04 not 15.10 but the binaries might be installable there...

Marc, I don't have device to test but it was not working before and there is no visible regressions on things using the library so I would consider it as good enough to copy

Mathew Hodson (mhodson)
Changed in libimobiledevice (Ubuntu Xenial):
importance: Undecided → High
information type: Public → Public Security
Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

I think libusbmuxd is also affected. Debian and yakkety now has libusbmuxd 1.0.10-3 to close CVE-2016-5104.

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Please nominate libusbmuxd for Xenial.

tags: added: xenial
Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

I installed from source, https://launchpad.net/ubuntu/+archive/primary/+files/libimobiledevice_1.2.0+dfsg.orig.tar.bz2
by,
./configure
make
sudo make install

the compile & install was successfull.

Same error occured for an ipad.

Could not start com.apple.mobile.installation_proxy!

Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

I installed on Ubuntu 15.10

Revision history for this message
Sebastien Bacher (seb128) wrote :

unsure if that fixes the issue but it is shipped upstream/in other distributions, has been tested there and doesn't create regressions in ubuntu so let's set it as verified

tags: added: verification-done
removed: verification-needed
Revision history for this message
ehcpdeveloper (ehcpdeveloper) wrote :

I meant, I installed from source, in Ubuntu 15.10, but the problem still was the same.

Same error occured for an ipad.
Could not start com.apple.mobile.installation_proxy!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libimobiledevice - 1.2.0+dfsg-3~ubuntu0.1

---------------
libimobiledevice (1.2.0+dfsg-3~ubuntu0.1) xenial; urgency=medium

  * debian/patches/git_gnutls_proxy.patch:
    - Fix installation_proxy when using GnuTLS instead of OpenSSL
      (lp: #1388743)
  * debian/patches/git_local_socket.patch:
    - [security fix] Make sure sockets only listen locally

 -- Sebastien Bacher <email address hidden> Mon, 23 May 2016 12:48:38 +0200

Changed in libimobiledevice (Ubuntu Xenial):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote : Update Released

The verification of the Stable Release Update for libimobiledevice has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
Changed in libusbmuxd (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public Security information  
Everyone can see this security related information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.