ISTANBUL — World leaders have condemned the crippling attack on Saudi oil installations last weekend as a blow to the global economy and a threat to regional stability.

President Vladimir V. Putin of Russia evidently also saw it as a chance to make a sales pitch, or at least enjoy a joke, at the expense of the West.

Mr. Putin spoke at a joint news conference in Ankara with President Recep Tayyip Erdogan of Turkey and President Hassan Rouhani of Iran on Monday after a meeting about the Syrian conflict.

American officials have blamed Iran for the attack on Saudi Arabia, Turkey is a major regional rival to the kingdom, and Mr. Putin has sought to expand Russian influence on all three countries, including through weapons sales.