Correct.
The sentence Nos aburre la profesora is correct. The word nos is the indirect object pronoun for the first person plural. Recall that an Indirect Object Pronoun is a person that receives the action of a verb indirectly. Its purpose is to tell you to whom or for whom something is done. So we are receiving the action in this sentence. Finally, this translates into:
The teacher bores us