Oil prices rose on Thursday, extending a cautious rally this week on signs of tight supply while the European Union (EU) wrangles with Hungary over plans to ban imports from Russia, the world’s second-largest crude exporter, after it invaded Ukraine.