{"schemaVersion":3,"id":"CVE-2017-18365","aliases":[],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-03-28T05:23:18.000Z","modified":"2024-08-05T21:20:50.961Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.0","versionLabel":"v3.0","source":"NVD","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.21238,"percentile":0.97576,"severity":"high","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.21238},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.18916,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.21238,"percentile":0.97576}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.18916,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.21238,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.21238,"percentile":0.97576}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_D58F12134DD5A829","name":"Exploit Reference (exablue.de)","source":"reference","url":"https://www.exablue.de/blog/2017-03-15-github-enterprise-remote-code-execution.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_GITHUB_ENTERPRISE_SECRET","name":"Github Enterprise Default Session Secret And Deserialization Vulnerability","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/github_enterprise_secret.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/github_enterprise_secret","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["unknown-stability"],"sideEffects":["unknown-side-effects"],"reliability":["unknown-reliability"]}}],"exploitCount":2,"weaknesses":[{"id":"CWE-502","name":"Deserialization of Untrusted Data","description":"The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/502.html"}],"affected":[{"vendor":"github","product":"github","name":"github","label":"github","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 2.8.0, < 2.8.7","noFixRecorded":false,"fixedIn":null},{"text":"2.8.7","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.8.0, < 2.8.7 | 2.8.7","eol":null,"hubHref":"/vendor/github/github"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.exablue.de/blog/2017-03-15-github-enterprise-remote-code-execution.html","label":"www.exablue.de/blog/2017-03-15-github-enterprise-remote-code-execution.html","hostname":"www.exablue.de","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://enterprise.github.com/releases/2.8.7/notes","label":"enterprise.github.com/releases/2.8.7/notes","hostname":"enterprise.github.com","tags":["X Refsource MISC","Vendor Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-03-28T05:23:18.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T21:20:50.961Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T06:42:53.087Z","stale":false,"partial":false}}