Take a look at OpenDDR project (removed original link since it is now defunct) - "open and completely free Device Description Repository (with access APIs) available worldwide".
Their OpenDDR-Resources repository seems to contain XML files with device descriptions you're after and provides a link to the last free and open distribution of WURFL file.
Their other repositories also contain C# and Java implementations of the API.