Thousands of Afghan rights workers at risk - UN