If it is illegal, the system would not show it on Korean Air's website. And yes, if your connection is missed, they will put you on the next flight. If it's REALLY tight, they will often have someone waiting at the plane's door with a sign. The majority of people flying KE connect so they will often hold planes for passengers.