Are both the "special" and the "needs" in "special needs" adjectives?

Special needs is an attributive adjective (an adjectival phrase). In fact, it could be written special-needs.