A bomb exploded aboard an Israeli bus near the nation's military headquarters in Tel Aviv on Wednesday, wounding 27 people, delivering a major blow to diplomatic efforts to forge a truce to end a week of fighting between Israel and Gaza's militant Hamas rulers.