CVE-2017-18365 Deserialization in n/a
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.
Other vulnerabilities in n/a
- CVE-2020-10516 Improper access control in GitHub Enterprise Server leading to privilege escalation of organization member
- CVE-2020-10519 Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server
- CVE-2020-10518 Unsafe configuration options in GitHub Pages leading to remote code execution on GitHub Enterprise Server
- CVE-2021-22863 Missing authorization in GitHub Enterprise Server
- CVE-2012-2055 Missing authorization in n/a
Sources
Also known as GHSA-cg2q-c8hj-pqc3.