# CVE-2015-6358: Hardcoded credentials in n/a

> Remote attackers can conduct man-in-the-middle attacks against Cisco embedded devices due to hardcoded X.509 certificates and SSH host keys in the firmware.

- **Severity:** Medium 5.9 (`CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 12 Oct 2017
- **Updated:** 6 Aug 2024
- **Also known as:** GHSA-vf47-j2qm-x7p4

## What is CVE-2015-6358?

CVE-2015-6358 is a medium-severity vulnerability in Cisco Rv320 Firmware, published on 12 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Multiple Cisco embedded devices use hardcoded X.509 certificates and SSH host keys embedded in the firmware, which allows remote attackers to defeat cryptographic protection mechanisms and conduct man-in-the-middle attacks by leveraging knowledge of these certificates and keys from another installation, aka Bug IDs CSCuw46610, CSCuw46620, CSCuw46637, CSCuw46654, CSCuw46665, CSCuw46672, CSCuw46677, CSCuw46682, CSCuw46705, CSCuw46716, CSCuw46979, CSCuw47005, CSCuw47028, CSCuw47040, CSCuw47048, CSCuw47061, CSCuw90860, CSCuw90869, CSCuw90875, CSCuw90881, CSCuw90899, and CSCuw90913.

Weakness: CWE-295 (Improper Certificate Validation)

## Which versions are affected by CVE-2015-6358?

It affects 24 products.


Products: Cisco Pvc2300 Firmware, Cisco Rtp300 Firmware, Cisco Rv120w Firmware, Cisco Rv180 Firmware, Cisco Rv180w Firmware, Cisco Rv220w Firmware, Cisco Rv315w Firmware, Cisco Rv320 Firmware, Cisco Rv325 Firmware, Cisco Rvs4000 Firmware, Cisco Spa400 Firmware, Cisco Srp520-U Firmware, Cisco Srp520 Firmware, Cisco Srw224p Firmware, Cisco Wap2000 Firmware, Cisco Wap200 Firmware, Cisco Wap4400n Firmware, Cisco Wap4410n Firmware, Cisco Wet200 Firmware, Cisco Wrp500 Firmware and 4 more.

## How do I fix CVE-2015-6358?

No fix has been published for CVE-2015-6358 yet. Limit exposure of the affected software until one is available.

## Is CVE-2015-6358 being exploited?

There is no known exploitation of CVE-2015-6358 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2015-6358 and fix it if it is affected.

What it is: CVE-2015-6358 is a medium-severity vulnerability in Cisco Rv320 Firmware, published on 12 Oct 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2015-6358 in the wild and no public exploit code.

Affected product: Cisco Rv320 Firmware. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2015-6358/ (Markdown: https://insights.sbomify.com/CVE-2015-6358/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2015-6358
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2015-6358
- OSV: https://osv.dev/vulnerability/CVE-2015-6358

---
From sbomify Insights: https://insights.sbomify.com/CVE-2015-6358/
Summaries are generated and may contain mistakes; the official description above is the record.
