The train, on a route frequently used by foreign delegations returning from Kyiv, was attacked just two kilometres from the Polish border, Ukraine's railway operator said.