Catalysis of the reaction: 5 sulfur + oxygen + 4 H2O = sulfite + thiosulfate + 2 hydrogen sulfide + 9 H+.