UN chief vows immediate action on 'infiltration of Hamas' in UN