Saudi Arabia has dismantled a "terrorist organisation" that was plotting attacks against government installations and foreign interests, the interior ministry announced Wednesday.