A bomb targeted the convoy of the Egyptian state prosecutor in the capital Cairo on Monday, security officials said.