Mar 8, 2021

CVE-2017-8461 - RRAS

This is a vulnerability released in June 2017, with CVSS 7.0 (High) for RRAS. The vulnerability is also known as “Windows RPC Remote Code Execution Vulnerability.”

With this vulnerability, Windows RPC with Routing and Remote Access (enabled in Windows XP and Windows Server 2003) allows an attacker to execute code on a targeted RPC server which has Routing and Remote Access enabled.

Recently, a new metasploit module is released. This module exploits an overflow in the Windows Routing and Remote Access Service (RRAS) to execute code as SYSTEM.

The RRAS DCERPC endpoint is accessible by unauthenticated users via SMBv1 browser named pipe on Windows Server 2003 and Windows XP hosts. (However, this module targets Windows Server 2003 only)

Since the service is hosted inside svchost.exe, a failed exploit
attempt can cause other system services to fail as well.

The module has been successfully tested on:

  • Windows Server 2003 SP0 (x86)
  • Windows Server 2003 SP1 (x86)
  • Windows Server 2003 SP2 (x86)
  • Windows Server 2003 R2 SP2 (x86)

Links:

  • https://attackerkb.com/topics/cH3SJNSMsg/cve-2017-8461 
  • http://packetstormsecurity.com/files/161672/Microsoft-Windows-RRAS-Service-MIBEntryGet-Overflow.html