BreachSpiderVerified, not vibes

CVE-2017-5242 in Rapid7 Insightvm

High 7.7

Nexpose and InsightVM virtual appliances downloaded between April 5th, 2017 and May 3rd, 2017 contain identical SSH host keys. Normally, a unique SSH host key should be generated the first time a virtual appliance boots.

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.7
EPSS0.4%
EPSS percentile26th
FixSee advisory

Remotely exploitable over the network, high complexity, low privileges required, requires user interaction, can impact systems beyond the vulnerable component, full confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Rapid7 Insightvm ≥ 2017-04-05, ≤ 2017-05-03

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Nexpose and InsightVM virtual appliances downloaded between April 5th, 2017 and May 3rd, 2017 contain identical SSH host keys. Normally, a unique SSH host key should be generated the first time a virtual appliance boots.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2017-5242
BreachSpider IDBS-2023-GLOBAL-120015-H
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
Published2023-01-12
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-321: CWE-321

CWE-330: CWE-330

Related attack patterns (CAPEC)

CAPEC-59 Session Credential Falsification through Prediction via CWE-330

CAPEC-485 Signature Spoofing by Key Recreation via CWE-330

CAPEC-112 Brute Force via CWE-330

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

Nexpose and InsightVM virtual appliances downloaded between April 5th, 2017 and May 3rd, 2017 contain identical SSH host keys, which can be exploited for man-in-the-middle attacks.

An attacker with network access to the affected virtual appliances could use the identical SSH host keys to perform a man-in-the-middle attack, intercepting and potentially altering the communication between the user and the virtual appliance.

Questions

What is CVE-2017-5242?

Nexpose and InsightVM virtual appliances downloaded between April 5th, 2017 and May 3rd, 2017 contain identical SSH host keys, which can be exploited for man-in-the-middle attacks.

What is the CVSS score for CVE-2017-5242?

CVE-2017-5242 has CVSS 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N. EPSS: 0.4%.

Is CVE-2017-5242 actively exploited?

No confirmed active exploitation of CVE-2017-5242 as of 2026-09-25.

How do I remediate CVE-2017-5242?

Priority: HIGH. Advisory: https://www.rapid7.com/blog/post/2017/05/17/rapid7-nexpose-virtual-appliance-duplicate-ssh-host-key-cve-2017-5242/ PSIRT: [email protected]

What systems are affected by CVE-2017-5242?

CVE-2017-5242 affects Rapid7 Insightvm.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Rapid7","product":"Insightvm","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.