It means "Designated Ugly Fat Friend". They don't have to be any of those, but that doesn't mean they don't have friends more attractive than them. The DUFF is basically the least attractive one in the group.
"She's cute, but her friends are hotter. She must be the DUFF."