Yes, your router's primary DNS entry was pointed to a rogue DNS server to redirect youmake devices in your network resolve apple.com
and other domains to phishing sites instead. The router possibly got compromised through an unpatched vulnerability in its firmware.
Although Asus doesn't publish bug details, attackers mightmay have independently discovered some of the critical vulnerabilities patched in that release. Diffing firmware releases to reverse-engineer what parts were patched is usually quite straightforward, even without access to the original source. (This is routinely done with Microsoft security updates.) Such "1-day exploits" are comparatively cheap to develop.
Also, this looks like it's part of a more wide-spread recent attack. This tweet from three days ago seems to describe aan incident very similar incident to what you experienced:
The fact that you got certificate warnings makes it less likely that an attacker managed to get into your machine. Otherwise, they could have messed with your local certificate store or browser internals and wouldn't need to conduct a blatant DNS spoofchange.
The idea here is to trick you into visiting a prepared website that makes you conduct the attack yourself by issuing a specially crafted cross-origin request to the router interface. This cancould happen without you noticing and wouldn't require yourthe interface to be remote accessible.