State oil firm Petronas has posted a 20.6 percent rise in half-year net profit on the back of high oil prices.