AI Security AI安全 6h ago Updated 2h ago 更新于 2小时前 45

Attackers Hijack MikroTik Routers Through Internet-Exposed SSH Without Authentication 攻击者通过互联网暴露的SSH劫持MikroTik路由器,无需认证

Attackers are exploiting internet-exposed MikroTik routers via SSH to gain full administrative control without authentication, using a two-vulnerability chain dubbed "MikroTrick" CERT Polska issued an urgent warning on September 5, with successful attacks dating back to at least September 2 MikroTik released emergency security updates across RouterOS 6.x, 7.x stable, and 7.x long-term channels, with specific fixed versions identified for each branch Home MikroTik devices are protected by default 攻击者利用互联网暴露的MikroTik路由器SSH服务,无需认证即可获取完全管理权限 该漏洞组合被命名为MikroTrick,涉及两个漏洞的协同利用 受影响版本包括RouterOS 6.0.0-6.49.20、7.0.0-7.23.3、7.24.0-7.24.1及7.25beta3以下版本 CERT建议立即更新固件,临时措施包括关闭暴露的管理端口和服务 恢复步骤要求隔离设备、保存日志证据、恢复出厂设置并重建配置

72
Hot 热度
62
Quality 质量
55
Impact 影响力

Analysis 深度分析

TL;DR

  • Attackers are exploiting internet-exposed MikroTik routers via SSH to gain full administrative control without authentication, using a two-vulnerability chain dubbed "MikroTrick"
  • CERT Polska issued an urgent warning on September 5, with successful attacks dating back to at least September 2
  • MikroTik released emergency security updates across RouterOS 6.x, 7.x stable, and 7.x long-term channels, with specific fixed versions identified for each branch
  • Home MikroTik devices are protected by default firewall rules blocking public management port access, but enterprise/ISP deployments with exposed SSH remain critically vulnerable
  • Zero-day status remains unverified, as the earliest fix (7.25beta3) was dated September 2, coinciding with the attack timeline

Why It Matters

This vulnerability poses a severe threat to network infrastructure, as compromised routers can be used for traffic interception, man-in-the-middle attacks, and as pivot points into internal networks. For AI practitioners and security professionals managing network-dependent systems, this underscores the critical importance of keeping network firmware updated and auditing exposed services, especially in cloud and edge computing environments where MikroTik devices are commonly deployed.

Technical Details

  • Attack vector: A two-flaw combination (dubbed "MikroTrick") exploits an internet-exposed SSH service on MikroTik routers, allowing unauthenticated administrative access. The specific CVE identifiers for the individual vulnerabilities were not disclosed in the initial warning.
  • Affected RouterOS versions and fixes: RouterOS 6.x (below 6.49.21) → fix at 6.49.21; RouterOS 7.0.x (below 7.23.4) → fix at 7.23.4, with 7.23.5 recommended on the long-term channel to also address an IPv6 DHCP regression; RouterOS 7.24.x (below 7.24.2) → fix at 7.24.2; Development channel → 7.25beta3.
  • Compromise indicators: Unexpected highly privileged "ops" accounts, account-creation logs containing ssh:-2@, and RouterOS "Flagged" status triggered by suspicious startup configuration checks.
  • Mitigation before patching: Disable exposed management services (SSH, WWW/WWW-SSL, bandwidth-test), restrict access to trusted management networks only, and avoid initiating TLS connections or using the built-in SSH client from unpatched devices.
  • Recovery procedure: Isolate the router, preserve logs and configuration before any reset, restore factory settings, rebuild from a trusted verified configuration (do not restore full backups from the potentially compromised device), and rotate all passwords and cryptographic keys.

Industry Insight

  • The "MikroTrick" chain highlights the ongoing risk of unauthenticated remote code execution on widely deployed networking equipment, particularly in environments where default security configurations are overridden by administrators who expose management interfaces to the internet.
  • The delayed and partial disclosure—without explicit CVE identifiers or technical exploit details—creates a window where attackers can develop custom tooling while defenders scramble to patch, reinforcing the need for proactive network segmentation and continuous configuration auditing.
  • Organizations should treat this as a reminder to implement automated firmware update policies for all network infrastructure, monitor for anomalous account creation and configuration changes, and maintain immutable backup configurations to enable rapid, clean recovery from compromise.

TL;DR

  • 攻击者利用互联网暴露的MikroTik路由器SSH服务,无需认证即可获取完全管理权限
  • 该漏洞组合被命名为MikroTrick,涉及两个漏洞的协同利用
  • 受影响版本包括RouterOS 6.0.0-6.49.20、7.0.0-7.23.3、7.24.0-7.24.1及7.25beta3以下版本
  • CERT建议立即更新固件,临时措施包括关闭暴露的管理端口和服务
  • 恢复步骤要求隔离设备、保存日志证据、恢复出厂设置并重建配置

为什么值得看

本文揭示了物联网设备安全配置的典型风险场景,对网络设备管理者具有重要警示意义。漏洞利用无需认证的特性凸显了默认安全配置的重要性,为行业提供了设备安全加固的实战案例。

技术解析

  • 攻击向量:通过互联网直接访问未认证的SSH服务获取管理员权限
  • 漏洞组合:两个独立漏洞协同利用形成完整攻击链(MikroTrick)
  • 版本影响:RouterOS 6.x/7.x多个版本存在安全风险,7.23.4引入IPv6 DHCP回归问题
  • 缓解措施:临时关闭SSH/WWW/WWW-SSL/bandwidth-test服务,限制管理网络访问
  • 恢复流程:隔离设备→保存日志/配置→恢复出厂设置→重建可信配置→更换密钥

行业启示

  • 物联网设备默认安全配置需重新评估,暴露管理端口应作为高风险配置
  • 漏洞响应时效性至关重要,7.25beta3发布日期与攻击时间线存在重叠
  • 企业应建立设备安全审计机制,定期检查异常账户和配置变更日志

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

Security 安全