# CVE-2017-13099: wolfSSL Bleichenbacher/ROBOT

> A weak Bleichenbacher oracle in wolfSSL allows attackers to recover private keys when RSA key exchange is used, compromising TLS security.

- **Severity:** High 7.5 (`CVSS:3.0/AV:N/AC:L/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:** Yes
- **Published:** 13 Dec 2017
- **Updated:** 16 Sep 2024
- **Also known as:** DEBIAN-CVE-2017-13099, GHSA-97gp-82pc-qc6x, UBUNTU-CVE-2017-13099

## What is CVE-2017-13099?

CVE-2017-13099 is a high-severity vulnerability in Siemens Scalance W1750d Firmware, published on 13 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

wolfSSL prior to version 3.12.2 provides a weak Bleichenbacher oracle when any TLS cipher suite using RSA key exchange is negotiated. An attacker can recover the private key from a vulnerable wolfSSL application. This vulnerability is referred to as "ROBOT."

Weakness: CWE-203 (Observable Discrepancy)

## Which versions are affected by CVE-2017-13099?

It affects 3 products.


Products: Arubanetworks Instant, Siemens Scalance W1750d Firmware, Wolfssl Wolfssl.

## How do I fix CVE-2017-13099?

Upgrade to a fixed version.

## Is CVE-2017-13099 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-13099 exists.

Public exploit code:

- Scanner for Bleichenbacher Oracle in RSA PKCS #1 v1.5 (metasploit)

## Other vulnerabilities in Siemens Scalance W1750d Firmware

- [CVE-2019-5319](https://insights.sbomify.com/CVE-2019-5319/): Memory corruption in Aruba Instant Access Points (critical 9.8)
- [CVE-2020-24636](https://insights.sbomify.com/CVE-2020-24636/): Command injection in Aruba Instant Access Points (critical 9.8)
- [CVE-2021-25149](https://insights.sbomify.com/CVE-2021-25149/): Memory corruption in Aruba Instant Access Points (critical 9.8)
- [CVE-2021-25150](https://insights.sbomify.com/CVE-2021-25150/): Command injection in Aruba Instant Access Points (high 8.8)
- [CVE-2021-25144](https://insights.sbomify.com/CVE-2021-25144/): Memory corruption in Aruba Instant Access Points (high 8.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2017-13099 and fix it if it is affected.

What it is: CVE-2017-13099 is a high-severity vulnerability in Siemens Scalance W1750d Firmware, published on 13 Dec 2017. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2017-13099 exists.

Affected product: Siemens Scalance W1750d 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-2017-13099/ (Markdown: https://insights.sbomify.com/CVE-2017-13099/index.md)
```

## Sources

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

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