Damn, my 2012 WRX hatch is having the same issues of CEL: all cylinder misfire, and it comes on when idling due to tons of bogging. Got about 8k miles.
Based on what I've read so far, I'm going to swap plugs first. I think i read another thread which mentioned that there was a leak on the intake side of things? found when then removed the intercooler? That or a valve adjustment, yikes.