- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Mar 23 2018
Mar 23 2018
epriestley triaged T13112: Safari, PDFs, and Content-Security-Policy interact oddly as Normal priority.
Mar 15 2018
Mar 15 2018
Mar 8 2018
Mar 8 2018
epriestley closed T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy as Resolved.
epriestley added a comment to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy.
very good memes
epriestley added a comment to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy.

epriestley added a comment to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy.
hmmm
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
epriestley added a comment to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy.
Actually, HTML mail has an issue now.
epriestley added a comment to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy.
This is technically fixed now but the meme stuff is real old and rough so I'm going to maybe make some kind of effort to get through more of T5258, etc.
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
epriestley added a revision to T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy: Restricted Differential Revision.
Mar 7 2018
Mar 7 2018
epriestley triaged T13101: The "{img ...}" and "{meme ...}" remarkup rules violate the new Content-Security-Policy as Normal priority.
Mar 5 2018
Mar 5 2018
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 2 2018
Mar 2 2018
epriestley closed T4340: Implement Content-Security-Policy and Strict-Transport-Security headers as Resolved.
This is promoting soon and we seem to have come through it without too much damage. T13095 is a followup for style="..." attributes.
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Mar 1 2018
Mar 1 2018
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
These changes are all deployed here, now. The embed element only got touched lightly but is at least slightly better. See T4340 for further adventures in Content-Security-Policy.
epriestley added a revision to T13094: Improve file behaviors around POST requests and downloads: Restricted Differential Revision.
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
epriestley added a revision to T13094: Improve file behaviors around POST requests and downloads: Restricted Differential Revision.
Feb 28 2018
Feb 28 2018
epriestley added a revision to T13094: Improve file behaviors around POST requests and downloads: Restricted Differential Revision.
- "Download" is a form, so you can't command-click it.
- The whole thing is a <div href="..." /> (huh?) so you can't command-click it to open it in a new window.
- When you click it for a non-image file, you get this weird interstitial that you can leave comments on if you click an additional button, which uses janky animations and AJAX. This feature is pretty half-baked and I've never seen anyone actually use it. It's possibly a net negative in its current form.
- There is no way to actually show the text file in the browser! ARHGRH
Okay, here's another one of these:
epriestley triaged T13094: Improve file behaviors around POST requests and downloads as Normal priority.
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
Feb 27 2018
Feb 27 2018
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
epriestley added a revision to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers: Restricted Differential Revision.
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
On the Stripe payment processing workflow, we embed a piece of Javascript directly from Stripe.
On the Recaptcha flow, we embed a piece of Javascript directly from Google.
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
Other stuff to test:
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
When we use a Quicksand transition from page A (which does not have Google or Recaptcha stuff on it) to page B (which does), the CSP from Page A will currently still be in control and prevent Page B from working.
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
On the Stripe payment processing workflow, we embed a piece of Javascript directly from Stripe.
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
I don't think this exposes new attack surface, at least today.
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
Idle thought: can we data: an SVG with onhover behaviors?
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
Idle thought: can we data: an SVG with onhover behaviors?
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
(Offhand, it's actually not immediately clear to me whether unsafe-eval applies to style attributes or not. Presumably, it should. This is easy to test.)
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
We use data: URIs to inline small images into CSS. For now, I'm going to allow these unconditionally. It's possible we could be more strict in the future, and allow data: as an img-src only in CSS files.
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
We use inline style="..." attributes and can't realistically get rid of these in the short term. Although some of these are just laziness in obscure interfaces, quite a few are legitimate (for example, inline background-image for profile images, and inline computed width or position values for elements which can be moved or resized in Javascript). We could move more rendering to Javascript, but Phabricator "mostly sort of" works with Javascript disabled and I generally think this is desirable, so I think this would be a tradeoff, not a strict improvement.
epriestley added a comment to T4340: Implement Content-Security-Policy and Strict-Transport-Security headers.
From PHI399:
Feb 16 2018
Feb 16 2018
epriestley added a comment to T13084: Phriction page links using URL encoding can be retargeted without editing.
A similar "attack" is to send a link to two destinations based on the viewer:
Feb 14 2018
Feb 14 2018
Feb 1 2018
Feb 1 2018
epriestley closed T13037: An attacker gained staff access to Mailgun and was able to read customer API keys as Resolved.
My call with Mailgun was generally reassuring. Based on an uncharitable reading of the January 5th disclosure, my major concern was that they might be starting from a cultural position which was blind to internal actors as threats and everyone just used root / hunter2 written on a sticky note to log in to everything or something like that.
Jan 31 2018
Jan 31 2018
epriestley closed T12800: When Excel opens a CSV file, it just runs whatever arbitrary code might be in the file as Resolved by committing Restricted Diffusion Commit.
One attack is that you can override the content of email and then send invite or welcome mail that says whatever you want, whether the victim has a Phabricator account (welcome) or not (invite).
epriestley added a revision to T12800: When Excel opens a CSV file, it just runs whatever arbitrary code might be in the file: Restricted Differential Revision.
Jan 30 2018
Jan 30 2018
epriestley added a comment to T12800: When Excel opens a CSV file, it just runs whatever arbitrary code might be in the file.
This is relevant now that work related to T13049 has added CSV support.
epriestley added a comment to T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.
(They got back to me and we're scheduling a call.)
epriestley added a comment to T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.
Mailgun has yet to respond to me after about three weeks, so I send them a followup.
Jan 27 2018
Jan 27 2018
epriestley moved T12046: PHPMailer RCE [CVE-2016-10033 and CVE-2016-10045] from Backlog to Future on the Mail board.
epriestley moved T13037: An attacker gained staff access to Mailgun and was able to read customer API keys from Backlog to Stamps/Failover on the Mail board.
Jan 25 2018
Jan 25 2018
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 23 2018
Jan 23 2018
Add a temporary token revoker.
Add a session revoker.
Add an SSH key revoker.
Add a password revoker.
Add a VCS password revoker.
The other thought I had was that using a cooperating subprocess and emitting signals to tell it to click a nanosecond-precision stopwatch might also make the attack more practical (or use pipes or domain sockets -- however you can get out of PHP with the lowest cost). They're probably all somewhat slow but likely better than microsecond-precision. Then you "just" need to get a cooperating binary onto the target host.
Wow, I didn't mean for my two cents' worth of snark to cause such a stir! I do buy the argument that Phabricator isn't impacted by Meltdown/Spectre ("At least today, Herald rules are insufficiently expressive to allow an attacker to encode a speculative execution cache timing side channel attack.").
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
I believe this has been supported since D11543, in 2015. Specifically, log.ssh.format supports %k, and it appears to work as expected.
Jan 22 2018
Jan 22 2018
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T12509: Plan the path forward from HMAC-SHA1: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 21 2018
Jan 21 2018
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
Jan 20 2018
Jan 20 2018
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
epriestley added a revision to T13043: Improve authentication revocation behaviors: Restricted Differential Revision.
See D17458 for the previous, narrower case of token revocation in response to Heartbleed (T12313).
Jan 18 2018
Jan 18 2018
In theory, yes. But I suspect the actual required sample size may be on the scale of "heat death of the universe", potentially making this attack less practical than just brute forcing whatever secret you're trying to extract.
Among other advanced capabilities, PHP instructions execute too slowly to allow a runtime program to distinguish between L1 cache access and main memory access.
Jan 6 2018
Jan 6 2018
epriestley updated the task description for T13037: An attacker gained staff access to Mailgun and was able to read customer API keys.