SecurityContext

CVE-2013-4490: GitLab Shell - Command Injection

  • Cve: CVE-2013-4490
  • Name: GitLab Shell - Command Injection
  • Description: The SSH key upload feature (lib/gitlab_keys.rb) in gitlab-shell before 1.7.3, as used in GitLab 5.0 before 5.4.1 and 6.x before 6.2.3, allows remote authenticated users to execute arbitrary commands via shell metacharacters in the public key.
  • Impact: Authenticated users can execute arbitrary commands on the server, potentially leading to full system compromise.
  • Remediation: Update gitlab-shell to version 1.7.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated user
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:2.0/AV:N/AC:L/Au:S/C:P/I:P/A:P
  • Epss score: 0.42139
  • Epss percentile: 0.98726
  • Assignee: [email protected]
  • Published at: 2014-05-13T15:55:03Z
  • Age in days: 4578
  • Modified at: 2026-06-16T23:57:19Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2013-4490
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
NVD-CWE-Other—

Public exploits

UrlSourceAdded date
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitlab_shell_exec.rbmetasploit2013-11-04

References

UrlSourceTags
https://www.gitlab.com/2013/11/04/gitlab-ce-6-2-and-5-4-security-release/nvdPatch, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab= 6.2.2, = 6.2.1, = 6.2.0, = 6.1.0, = 6.0.0, = 5.4.0, = 5.3.0, = 5.2.0, = 5.1.0, = 5.0.1, = 5.0.0nonvd/v1/products/gitlab/gitlab
gitlab:gitlab-shell<= 1.7.2, = 1.7.1, = 1.7.0, = 1.6.0, = 1.5.0, = 1.4.0, = 1.3.0, = 1.2.0, = 1.1.0, = 1.0.4nonvd/v1/products/gitlab/gitlab-shell

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Exploitation seen: yes
  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2013-11-04
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports