Intrinsic first- and higher-order topological superconductivity in a doped topological insulator