CVE-2018-14505 Mitmweb in mitmproxy allows DNS Rebinding attacks

High 8.8 Published Updated

Attackers can exploit DNS rebinding in mitmweb to bypass same-origin policies and access internal resources or sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-14505?

CVE-2018-14505 is a high-severity server-side request forgery vulnerability in n/a, published on 22 Jul 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

mitmweb in mitmproxy v4.0.3 allows DNS Rebinding attacks, related to tools/web/app.py.

Weakness: CWE-20

Which versions are affected by CVE-2018-14505?

3 open source packages ship an affected version, including mitmproxy. It affects 1 product.

PackageAffectedFixed in
mitmproxy PyPIAll versions4.0.4
mitmproxy PyPIAll versions4.0.4
mitmproxy PyPIAll versions4.0.4

Products include Mitmproxy Mitmproxy.

How do I fix CVE-2018-14505?

Upgrade mitmproxy to 4.0.4 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2018-14505 being exploited?

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

Sources

Also known as DEBIAN-CVE-2018-14505, GHSA-6m53-c78q-7qmg, PYSEC-2018-56, UBUNTU-CVE-2018-14505.

Is CVE-2018-14505 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free