Oil prices rose on Friday and were on track for a fourth monthly gain as traders braced for a potential escalation in the US-Iran conflict after US midterm elections, with an attack on a ‌tanker in the Strait of Hormuz highlighting supply risks from the war.