If the roommate can prove your boyfriend was negligent by leaving the window open, then yes, he can be held responsible for the damages suffered. The hobo would also be liable, but getting any money from him is most likely impossible. The key is the roommate would have to prove the window was left unlocked. If it was, then your boyfriend may just want to pay the $500 if the damages were more. Or he can negotiate the amount. If he does pay, make sure he has the other party sign a release stating that the payment is infull settlement of all claims, to ensure the do not continue to come back for more money later. Good luck.
I am licensed in California only and my answers on Avvo assume California law. The above answer is for general information only and is based on the information you posted. Every case is fact dependent, so to get a thorough analysis of your situation, you will need to consult face to face with an attorney licensed to practice in the jurisdiction where the incident took place. Do not conclusively rely on any information posted online when deciding what to do about your case. No attorney-client relationship shall be created through the use reading of this response on Avvo. You should never delay seeking legal advice, disregard legal advice, or commence or discontinue any legal action because of information in this response.