I thought they worked by dielectric heating? Making polar molecules get all frantic and stuff. There is a safety mechanism to shut off the magnetron when the door is opened, and a screen to make the viewing window opaque to microwave radiation, but those can malfunction.
As far as I know, that's the mechanism by which microwave radiation heats molecules, but the specific design of the oven is to produce standing waves so microwaves can become concentrated. I may be wrong, though.
Not wrong -- the safety screen is part of the cavity resonator. But if there's a hole in it, or if you defeat the door interlock, you can still cook yourself with microwaves. In general I'm not too concerned that I'm going to cook my eyeballs by looking at my spaghetti to make sure that it's not exploding all over the inside of the microwave.