Communication with store.juju.ubuntu.com is not authenticated

Bug #992447 reported by Clint Byrum
272
This bug affects 3 people
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Critical
Clint Byrum
0.5
Fix Released
Critical
Clint Byrum
juju (Ubuntu)
Fix Released
Critical
Clint Byrum
Oneiric
Won't Fix
Undecided
Unassigned
Precise
Fix Released
Medium
Steve Beattie
Quantal
Fix Released
Critical
Clint Byrum

Bug Description

twisted.web.client is used, getPage and downloadPage specifically, to talk to the backend charm store.

This is not authenticated at all, so a man in the middle between agent and charm store could cause an agent to download a trojaned charm.

Related branches

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

[tap,tap] This issue seems rather serious, and yet has received no response yet. I hope we'll be a bit more responsive to future security bugs.

Revision history for this message
Kapil Thangavelu (hazmat) wrote : Re: [Bug 992447] Re: Communication with store.juju.ubuntu.com is not authenticated

noted, in future the team will have more resources for proper maintenance.
jim could you have a look at this (will also ping on irc).

On Tue, Jul 24, 2012 at 7:43 AM, Clint Byrum <email address hidden> wrote:

> [tap,tap] This issue seems rather serious, and yet has received no
> response yet. I hope we'll be a bit more responsive to future security
> bugs.
>
> --
> You received this bug notification because you are a member of juju
> hackers, which is subscribed to the bug report.
> https://bugs.launchpad.net/bugs/992447
>
> Title:
> Communication with store.juju.ubuntu.com is not authenticated
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/992447/+subscriptions
>

Changed in juju:
status: New → In Progress
assignee: nobody → Clint Byrum (clint-fewbar)
Changed in juju:
milestone: none → honolulu
Changed in juju (Ubuntu Oneiric):
status: New → Won't Fix
Changed in juju (Ubuntu Precise):
status: New → In Progress
assignee: nobody → Clint Byrum (clint-fewbar)
Changed in juju (Ubuntu Quantal):
status: New → In Progress
assignee: nobody → Clint Byrum (clint-fewbar)
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Attached is an update for precise. It contains fixes for all known security issues in juju on precise. Quantal should receive the latest version of Juju shortly which will bring it up to date with this patch.

Changed in juju (Ubuntu Precise):
status: In Progress → Confirmed
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Testing: I installed the packages and changed /etc/hosts to have store.juju.ubuntu.com point to 127.0.0.1 which was running a snake-oil certificate apache. OpenSSL error was the result, which is the desired result.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Making public since the commits have landed in juju's trunk.

visibility: private → public
Changed in juju (Ubuntu Quantal):
status: In Progress → Fix Released
Changed in juju (Ubuntu Precise):
importance: Undecided → Medium
Changed in juju:
status: In Progress → Fix Committed
Revision history for this message
Steve Beattie (sbeattie) wrote :

Clint,

Thanks, debdiff looks good. I'll push this out today.

Changed in juju (Ubuntu Precise):
status: Confirmed → In Progress
assignee: Clint Byrum (clint-fewbar) → Steve Beattie (sbeattie)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package juju - 0.5+bzr531-0ubuntu1.3

---------------
juju (0.5+bzr531-0ubuntu1.3) precise-security; urgency=low

  * SECURITY UPDATE: d/p/upstream-543.patch: Disable password authentication
    on LXC containers created in the local provider. (LP: #1016428)
  * SECURITY UPDATE: d/p/upstream-564.patch: Fix example mysql charm to
    not expose root mysql password to all users. (LP: #1040165)
  * SECURITY UPDATE: d/p/upstream-565.patch: Verify charm store hostname
    matches hostname on SSL certificate. (LP: #992447)
 -- Clint Byrum <email address hidden> Thu, 23 Aug 2012 17:12:26 -0700

Changed in juju (Ubuntu Precise):
status: In Progress → Fix Released
Revision history for this message
Steve Beattie (sbeattie) wrote :

Clint,

FYI, I slightly modified the patch headers to make them DEP-3 compliant (added Subject: lines with brief descriptions of the issues they address).

Unsubscribing ubuntu-security-sponsors since there is no more open tasks for that team to undertake.

Thanks!

Changed in juju (Ubuntu Quantal):
milestone: none → ubuntu-12.10
Changed in juju (Ubuntu Quantal):
milestone: ubuntu-12.10 → ubuntu-12.10-beta-2
importance: Undecided → High
Changed in juju (Ubuntu Quantal):
importance: High → Critical
Changed in juju:
status: Fix Committed → 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.