Security forces said the blast went off near Tahrir Square, which has been occupied for three weeks by demonstrators demanding regime change.