Mark Webber ended speculation about a move to Ferrari by extending his contract with Red Bull until the end of 2013.