CVE-2013-4490
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
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 withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Gitlab-shell - Code Execution (Metasploit)
Metasploit modules
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gitlab | gitlab | 5.0.0 | |
| gitlab | gitlab | 5.0.1 | |
| gitlab | gitlab | 5.1.0 | |
| gitlab | gitlab | 5.2.0 | |
| gitlab | gitlab | 5.3.0 | |
| gitlab | gitlab | 5.4.0 | |
| gitlab | gitlab | 6.0.0 | |
| gitlab | gitlab | 6.1.0 | |
| gitlab | gitlab | 6.2.0 | |
| gitlab | gitlab | 6.2.1 | |
| gitlab | gitlab | 6.2.2 | |
| gitlab | gitlab-shell | {"endIncluding":"1.7.2"} | |
| gitlab | gitlab-shell | 1.0.4 | |
| gitlab | gitlab-shell | 1.1.0 | |
| gitlab | gitlab-shell | 1.2.0 | |
| gitlab | gitlab-shell | 1.3.0 | |
| gitlab | gitlab-shell | 1.4.0 | |
| gitlab | gitlab-shell | 1.5.0 | |
| gitlab | gitlab-shell | 1.6.0 | |
| gitlab | gitlab-shell | 1.7.0 | |
| gitlab | gitlab-shell | 1.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.