In reply to Sergey Biryukov.

https://wordpress.org/plugins/find-posts-using-attachment/