An Israeli attack in southern Lebanon has left three people killed and several United Nations peacekeepers injured, the Lebanese army says.