The sensitivity didn't increase by exposing it longer - its simply accumulating more signal over time.
Many sensors are ill-suited to long exposures though. While they can do it, you end up with heat related issues (commonly manifested as stuck pixels and general noise). CCDs also end up saturating and spilling over to adjacent cells, making high dynamic scenes a challenge.