South Korea finished as the runner-up in Group E of the Asian Football Confederation Asian Cup after getting held by the pesky Malaysia 3-3 in Qatar on Thursday.
Romel Morales scored the dramatic equalizer for 130th-ranked Malaysia during stoppage time in the second half at Al Janoub Stadium in Al Wakrah, south of Doha, in the teams' final group stage match.
Son Heung-min had given South Korea a 3-2 lead with a penalty four minutes into added time, but the Taegeuk Warriors settled for a shocking draw.
South Korea finished with five points, having earlier defeated Bahrain 3-1 and then played Jordan to a 2-2 draw.
Bahrain won the group with six points with a 1-0 win over Jordan on Thursday.
As the Group E runner-up, South Korea will face the Group F winner, either Saudi Arabia or Thailand. These two countries were scheduled to face each other later Thursday, and Saudi Arabia will win Group F with either a win or a draw against Thailand.
South Korea's round of 16 match will kick off at Education City Stadium in Al Rayyan, west of Doha at 7 p.m. Tuesday local time, or 1 a.m. Wednesday in Seoul time.
South Korea are chasing their first Asian Cup title since 1960. (Yonhap)