N.Y. Real Property Actions & Proceedings Law § 813
Action for waste by grantee of real property sold under execution
Where real property is sold by virtue of an execution, the person to whom a conveyance is executed pursuant to the sale may maintain an action for waste, committed thereon after the sale, against the person who was then in possession of the property.