Changing bug privacy to private doesn't remove bug from project overview page

Bug #739455 reported by Steve Magoun
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Deryck Hodge

Bug Description

If you set a public bug to private, the bug # and description are still visible to unauthenticated/unauthorized users in the "Latest bugs reported" area of the project's overview page.

This is a potential information leak - if a user accidentally files a bug whose description should be private, the user can mark the bug private. Even if the user does this, the user has no way of hiding the description other than by changing it. This is not immediately obvious.

I suspect the issue might be that LP is caching the data on the project overview page; how often is the cached data refreshed? 20mins after marking a particular bug as private, I still see it on the overview page when using a browser session that is not logged into LP.

If the bugs on the overview page are artifacts of a stale cache, I suggest that marking a bug as a private bug or a security vulnerability be used as a trigger to flush the cache, ensuring that private things become completely private immediately.

To reproduce:
1) File a public bug on a project
2) Using a browser session not logged into LP, Navigate to the project's overview page, e.g. http://launchpad.net/foo . The new bug from step 1 should be listed in the "Latest bugs reported section"
3) Using a browser session logged into LP, make the bug private
4) Using a browser session not logged into LP, reload the project overview page. The description of the private bug is still visible. Clicking through to the bug from the over page shows a 'File not found" error page as expected.

Tags: qa-ok

Related branches

j.c.sackett (jcsackett)
Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 739455] Re: Changing bug privacy to private doesn't remove bug from project overview page

Easiest solution would be to disable memcache : we still have timeouts
generating that view, and we should fix those separately.

Revision history for this message
Robert Collins (lifeless) wrote :

@steve do you mean l.n/foo or bugs.l.n/foo ?

Revision history for this message
Steve Magoun (smagoun) wrote :

@Robert: l.n/foo

Deryck Hodge (deryck)
Changed in launchpad:
assignee: nobody → Deryck Hodge (deryck)
status: Triaged → In Progress
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
Changed in launchpad:
milestone: none → 11.05
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
William Grant (wgrant)
tags: added: qa-ok
removed: qa-needstesting
Brad Crittenden (bac)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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