Two Chicago police officers were shot and wounded late Tuesday when two vehicles pulled up alongside their car and someone started firing indiscriminately in what authorities believe was a targeted attack.