The United Nations and France have condemned an Israeli attack that hit UN peacekeeping forces in southern Lebanon.