Overview
The CVE-2014-6274 vulnerability refers to a significant flaw discovered in git-annex, affecting the versions from 3.20121126 before 5.20140919. This vulnerability poses a serious threat to data security and integrity as the AWS credentials that are supposed to be encrypted are stored in plaintext, leading to potential system compromise or data leakage.
Vulnerability Summary
CVE ID: CVE-2014-6274
Severity: High (7.5 CVSS)
Attack Vector: Network
Privileges Required: None
User Interaction: None
Impact: System compromise and potential data leakage
Affected Products
Escape the Surveillance Era
Most apps won’t tell you the truth.
They’re part of the problem.
Phone numbers. Emails. Profiles. Logs.
It’s all fuel for surveillance.
Ameeba Chat gives you a way out.
- • No phone number
- • No email
- • No personal info
- • Anonymous aliases
- • End-to-end encrypted
Chat without a trace.
Product | Affected Versions
git-annex | 3.20121126 to 5.20140919
How the Exploit Works
The vulnerability arises from a bug in the S3 and Glacier remotes of git-annex. If the ’embedcreds=yes’ is set and the remote uses ‘encryption=pubkey’ or ‘encryption=hybrid’, the embedded AWS credentials are stored in the git repository in plaintext, rather than being encrypted. This misstep allows any malicious entity with access to the repository to retrieve the AWS credentials easily, leading to unauthorized access, system compromise, and data leakage.
Conceptual Example Code
This vulnerability does not require any specific attack code as the credentials are exposed in plaintext. However, an attacker could potentially use the following shell command to clone the repository and access the exposed credentials.
git clone https://target.example.com/vulnerable/repository.git
grep -iR 'AWS_ACCESS_KEY_ID' repository/
This command would clone the repository and then search for the plaintext AWS credentials within it.

