I could be really, really wrong (and I probably am, since you mentioned it's an external hd/media thingy, and probably has a bunch of proprietary stuff), but it looks like the connector just fell apart and the wire pulled out.
The part that is sticking out of the board that looks like several )( shapes made of metal... inside the connectors those usually make the connection, cutting through the wire insulation.
Is there any chance there's a full set of headers on that board inside the plastic plug?
edit: looking at the first pic again it totally looks like the plastic is just plugged into bare headers sticking out of the board. But eh could just be me.