CVE-2013-4490

medium
Published 2014-05-13 ยท Modified 2026-05-06
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

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.

Predictions

Exploit likelihood
20%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-34362 remote linux verified
Metasploit ยท 2014-08-19

Gitlab-shell - Code Execution (Metasploit)

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

Gitlab-shell Code Execution
Source fetch failed: fetch_error โ€” view the original via the link above.

Application impact

VendorProductVersionsFixed
gitlabgitlab5.0.0
gitlabgitlab5.0.1
gitlabgitlab5.1.0
gitlabgitlab5.2.0
gitlabgitlab5.3.0
gitlabgitlab5.4.0
gitlabgitlab6.0.0
gitlabgitlab6.1.0
gitlabgitlab6.2.0
gitlabgitlab6.2.1
gitlabgitlab6.2.2
gitlabgitlab-shell{"endIncluding":"1.7.2"}
gitlabgitlab-shell1.0.4
gitlabgitlab-shell1.1.0
gitlabgitlab-shell1.2.0
gitlabgitlab-shell1.3.0
gitlabgitlab-shell1.4.0
gitlabgitlab-shell1.5.0
gitlabgitlab-shell1.6.0
gitlabgitlab-shell1.7.0
gitlabgitlab-shell1.7.1

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.