Yep, you see the moon is warmer than it "should be" Just like the earth is (supposedly) so how is that possible? Read and be edumicated!
http://www.ilovemycarbondioxide.com/pdf/Greenhouse_Effect_on_the_Moon.pdf
http://www.ilovemycarbondioxide.com/pdf/Greenhouse_Effect_on_the_Moon.pdf