Burke dashed onto Kelvin Etuhu's flick on the half-way line and the Baggies backline were punished for not closing down him down as the man who celebrated his 26th birthday last week fired a low 20-yard low left-footed shot into the net.
But Spain were level within three minutes when Ribas' drag flick from the hosts' seventh penalty corner was only half-stopped by Mason's left hand and the ball trickled over the line.
Charlton's best chance in a fairly tame first half came on the half-hour mark when Nicky Forster's flick-on was met by Deon Burton's ferocious volley from a tight angle but Shane Higgs made a reflex save to turn it past the post.