CVE-2015-6785 Security feature bypass in n/a

Medium 4.3 Published Updated

Remote attackers can bypass Content Security Policy restrictions by exploiting hostname matching logic, potentially accessing restricted resources.

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-2015-6785?

CVE-2015-6785 is a medium-severity vulnerability in Google Chrome, published on 6 Dec 2015. 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

The CSPSource::hostMatches function in WebKit/Source/core/frame/csp/CSPSource.cpp in the Content Security Policy (CSP) implementation in Google Chrome before 47.0.2526.73 accepts an x.y hostname as a match for a *.x.y pattern, which might allow remote attackers to bypass intended access restrictions in opportunistic circumstances by leveraging a policy that was intended to be specific to subdomains.

Weakness: CWE-264

Which versions are affected by CVE-2015-6785?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2015-6785?

Upgrade to a fixed version.

Is CVE-2015-6785 being exploited?

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

All Google Chrome vulnerabilities

Sources

Also known as GHSA-hqg9-cpw9-mw7g, UBUNTU-CVE-2015-6785.

Is CVE-2015-6785 in your software?

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

Check your SBOMs for free