Promoting the release of Command & Conquer 4 EA released Tiberian Sun as freeware in 2010. It is therefore legal to download. The game used to be available from commandandconquer.com.
This is a ZIP archive containing an iso of the GDI disc of Tiberian Sun. To be burned to a CD or mounted in a virtual disc program.
The process of manually installing the game on a modern system is fairly involved. If you are not comfortable with using technical tools and want to be up and running easily check out the Tiberian Sun installer instead.