At least seven people were wounded when a bomb went off in a Cairo metro carriage on Thursday, security officials said.