Legally, every fan fiction is a derivative work- meaning it can only be created with the original work's author permission. The rules' words are something like "a transformation of the original work or a work that uses its characters, settings or general mise-en-scene." IIRC