When a public officer by official misconduct or neglect of duty forfeits an official undertaking or other security of the public officer, or renders the sureties of the public officer liable thereon, any person injured by the misconduct or neglect, or who is by law entitled to the benefit of the security, may maintain an action thereon in the name of the person, against the officer and the sureties of the officer, to recover the amount to which the person may by reason thereof be entitled.
ORS 30.220