CVE-2017-18365 Deserialization in n/a

Critical 9.8 Published Updated

Unauthenticated attackers can execute arbitrary code on GitHub Enterprise by exploiting a deserialization flaw in the Management Console using a hardcoded secret.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2017-18365?

CVE-2017-18365 is a critical unsafe deserialization vulnerability in n/a, published on 28 Mar 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Management Console in GitHub Enterprise 2.8.x before 2.8.7 has a deserialization issue that allows unauthenticated remote attackers to execute arbitrary code. This occurs because the enterprise session secret is always the same, and can be found in the product's source code. By sending a crafted cookie signed with this secret, one can call Marshal.load with arbitrary data, which is a problem because the Marshal data format allows Ruby objects.

Weakness: CWE-502

Which versions are affected by CVE-2017-18365?

It affects 1 product.

Products include Github Github.

How do I fix CVE-2017-18365?

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

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2017-18365 being exploited?

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

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-cg2q-c8hj-pqc3.

Is CVE-2017-18365 in your software?

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

Check your SBOMs for free