Tehran accused the United States of violating both the UN Charter and a memorandum aimed at ending the conflict, warning that countries allowing attacks on Iran from their territory would bear legal responsibility.