{"uuid": "02b6a330-ff3f-4422-b159-6edffc686bde", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-10977", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitlab_file_read_rce.rb", "content": "{\"aliases\": [], \"arch\": \"ruby\", \"author\": [\"William Bowling (vakzz)\", \"alanfoster\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module provides remote code execution against GitLab Community\\n          Edition (CE) and Enterprise Edition (EE). It combines an arbitrary file\\n          read to extract the Rails \\\"secret_key_base\\\", and gains remote code\\n          execution with a deserialization vulnerability of a signed\\n          'experimentation_subject_id' cookie that GitLab uses internally for A/B\\n          testing.\\n\\n          Note that the arbitrary file read exists in GitLab EE/CE 8.5 and later,\\n          and was fixed in 12.9.1, 12.8.8, and 12.7.8. However, the RCE only affects\\n          versions 12.4.0 and above when the vulnerable `experimentation_subject_id`\\n          cookie was introduced.\\n\\n          Tested on GitLab 12.8.1 and 12.4.0.\", \"disclosure_date\": \"2020-03-26\", \"fullname\": \"exploit/multi/http/gitlab_file_read_rce\", \"is_install_path\": true, \"mod_time\": \"2024-07-24 16:42:43 +0000\", \"name\": \"GitLab File Read Remote Code Execution\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\", \"artifacts-on-disk\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/gitlab_file_read_rce.rb\", \"platform\": \"Ruby\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"multi/http/gitlab_file_read_rce\", \"references\": [\"CVE-2020-10977\", \"URL-https://hackerone.com/reports/827052\", \"URL-https://about.gitlab.com/releases/2020/03/26/security-release-12-dot-9-dot-1-released/\"], \"rport\": 80, \"session_types\": false, \"targets\": [\"Automatic\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:48.756313Z"}