The Outer Space Treaty, the Registration convention and the Liability Convention cover in part, this. But they don't go nearly far enough. On the high seas, there is a long-standing understanding that derelict vessels must be removed, for the safety of the other vessels using those sea lanes. The money for doing this comes from the insurance companies or the company that owns the vessel. And it strikes me that an extension of this provision to Earth orbit and later to other planets (if we ever get that far) would make excellent sense for keeping Earth Orbit clear enough to continue using it safely.
It would have to be developed as a treaty extending the three treaties mentioned above, and regarded as a natural part of the insurance business when it comes to satellite launch - salvage being, as I said, funded from the likes of Lloyds London, etc. Pass this on to your local friendly NASA/ESA/etc space scientist, space lawyer, parliament/congress representative, etc. Let's get something done about it.