Menu

  • Alerts
  • Incidents
  • News
  • APTs
  • Cyber Decoded
  • Cyber Hygiene
  • Cyber Review
  • Cyber Tips
  • Definitions
  • Malware
  • Threat Actors
  • Tutorials

Useful Tools

  • Password generator
  • Report an incident
  • Report to authorities
No Result
View All Result
CTF Hack Havoc
CyberMaterial
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
Hall of Hacks
  • Education
    • Cyber Decoded
    • Definitions
  • Information
    • Alerts
    • Incidents
    • News
  • Insights
    • Cyber Hygiene
    • Cyber Review
    • Tips
    • Tutorials
  • Support
    • Contact Us
    • Report an incident
  • About
    • About Us
    • Advertise with us
Get Help
No Result
View All Result
Hall of Hacks
CyberMaterial
No Result
View All Result
Home Alerts

GitHub and Git Projects Expose Credentials

January 28, 2025
Reading Time: 2 mins read
in Alerts
GitHub and Git Projects Expose Credentials

A series of security vulnerabilities have been discovered in GitHub Desktop and other Git-related projects, potentially allowing attackers to steal Git credentials. These flaws, identified under the name Clone2Leak, are primarily related to the handling of credential retrieval in Git’s systems, particularly the Git Credential Protocol. The vulnerabilities exploit improper handling of messages, where maliciously crafted URLs can lead to the leakage of sensitive data. These flaws can be triggered through various components like GitHub Desktop, Git Credential Manager, and Git LFS, as well as the GitHub CLI.

One major vulnerability involves GitHub Desktop, where a malicious URL can cause credentials to be sent to an attacker-controlled host, exposing them to unauthorized access. Another weakness has been identified in Git Credential Manager, where a carriage-return character in remote URLs can result in credential leakage. Additionally, Git LFS does not properly check for embedded control characters, leading to a carriage return line feed (CRLF) injection through crafted HTTP URLs.

These vulnerabilities allow for the exfiltration of user credentials to attackers, who could use them to access privileged resources.

GitHub CLI has also been found to be vulnerable, especially when used in GitHub Codespaces. A specific exploit in GitHub CLI causes access tokens to be leaked when cloning malicious repositories. This issue arises because certain environment variables are configured to send tokens to non-GitHub hosts, making it easier for attackers to steal tokens when cloning repositories from compromised sources. GitHub has acknowledged these issues and has taken steps to address them, including treating the carriage return vulnerability as a standalone issue and releasing patches in updated versions.

In response to these vulnerabilities, GitHub has advised users to update their software to the latest versions to patch the flaws. For those unable to patch immediately, mitigation measures include avoiding the use of certain Git commands, such as –recurse-submodules when cloning untrusted repositories. Additionally, it’s recommended to disable the credential helper when cloning publicly available repositories to further reduce the risk of credential exposure. These measures are essential to protect against the potential theft of sensitive Git credentials.

Reference:
  • GitHub Desktop Exposes Credentials Due to Multiple Vulnerabilities
Tags: Cyber AlertsCyber Alerts 2025CyberattackCybersecurityJanuary 2025
ADVERTISEMENT

Related Posts

AMOS Mac Stealer Adds Persistent Backdoor

AMOS Mac Stealer Adds Persistent Backdoor

July 8, 2025
AMOS Mac Stealer Adds Persistent Backdoor

NordDragonScan Malware Steals Windows Data

July 8, 2025
AMOS Mac Stealer Adds Persistent Backdoor

New Ransomware BERT Targets ESXi Systems

July 8, 2025
hpingbot Botnet Uses Pastebin C2 Channel

APT36 Targets Indian Defense Linux Systems

July 7, 2025
hpingbot Botnet Uses Pastebin C2 Channel

Hackers Abuse Driver Signing For Malware

July 7, 2025
hpingbot Botnet Uses Pastebin C2 Channel

hpingbot Botnet Uses Pastebin C2 Channel

July 7, 2025

Latest Alerts

New Ransomware BERT Targets ESXi Systems

NordDragonScan Malware Steals Windows Data

AMOS Mac Stealer Adds Persistent Backdoor

APT36 Targets Indian Defense Linux Systems

hpingbot Botnet Uses Pastebin C2 Channel

Hackers Abuse Driver Signing For Malware

Subscribe to our newsletter

    Latest Incidents

    French Chip Firm Semco Hacked During IPO

    Louis Vuitton Korea Hit By Cyberattack

    Virginia School District Hit By Cyberattack

    Ransomware Attack Causes Outage at Ingram

    Call of Duty Players Hacked on Game Pass

    RansomHub Claims Theft of Coppell City Data

    CyberMaterial Logo
    • About Us
    • Contact Us
    • Jobs
    • Legal and Privacy Policy
    • Site Map

    © 2025 | CyberMaterial | All rights reserved

    Welcome Back!

    Login to your account below

    Forgotten Password?

    Retrieve your password

    Please enter your username or email address to reset your password.

    Log In

    Add New Playlist

    No Result
    View All Result
    • Alerts
    • Incidents
    • News
    • Cyber Decoded
    • Cyber Hygiene
    • Cyber Review
    • Definitions
    • Malware
    • Cyber Tips
    • Tutorials
    • Advanced Persistent Threats
    • Threat Actors
    • Report an incident
    • Password Generator
    • About Us
    • Contact Us
    • Advertise with us

    Copyright © 2025 CyberMaterial