Skip navigation
Weeks later... GitHub bug still dropping malware 👌
0:00 / 3:35

Weeks later... GitHub bug still dropping malware 👌

herrcore

16K followers

Visit on X
275 likesDownloadOriginal post

92,687 views

Weeks later... GitHub bug still dropping malware 👌

10 Comments

Comments from the original post on X (Twitter)

  • Bret Comnes's profile picture

    @bcomnes

    It doesn't end up "in the repo". It ends up in githubs image hosting backend thats associated with the repo.

    9 likes

  • herrcore's profile picture

    @herrcore

    Ah yeh maybe it's not clear in the clip, I'll just drop the full details below for clarity. Unlike the version control system "git", GitHub has many additional features, wiki, release, etc. all of them organized by "repository". One of the key GitHub features used by developers is the concept of a release, where compiled/bundled software "assets" can be downloaded from the repository. The typical assets download path follows. / /releases/download/ This bug/feature allows arbitrary uploads to the following paths on any . / /assets/ / /files/ These paths are confusingly similar so what attackers have been doing is uploading malware in .ZIP files that look like release assets to large open source repositories. They then share the links as though they are the legit release links for the repository. It looks like GitHub did attempt to somewhat mitigate this by restricting the file types that can be uploaded, but they still allow .ZIP files which are often used for releases so the deception in the attack still works. Full attack which is still live is detailed here

    16 likes

  • Dennis Griffin's profile picture

    @_DennisGriffin

    I mean, it's clearly an s3 bucket, not the repo. Look at the URL after the redirect. Is it wierd? Yes Unexpected? Probably Dangerous? Potentially "In the repo"? Definitely not

    4 likes

  • herrcore's profile picture

    @herrcore

    Scroll down I already explained in detail

    1 like

  • Robert Yates's profile picture

    @yates82

    mimikatz 🤣🤣🤣🤣 instant regret

    2 likes

  • Parth Prajapati's profile picture

    @iam_daparth

    I've been using this vulnerability to use Github's CDN for uploading images for my blog. I create an issue on my own repo and upload images and close the issue. I get nice free CDN.

    1 like

  • smallshen's profile picture

    @smallshen2

    I’ve found that last year, I ran my detection algorithm across nearly half million GitHub account and automatically detect malware related accounts. I contacted GitHub support say I can help, I shared them a google doc with details and updated list, they do shit and leave me.

  • Richard ⨻'s profile picture

    @richgrov

    @jedisct1 It always surprised me how little we see spam on GitHub considering how relaxed the content moderation is

  • The Cyber Post's profile picture

    @TheCyberPost1

    Awesome find this is a really neat hack / workaround for phishing and or deriving payloads to people for sure dangerous esp around crypto stuff.

  • NiteLite's profile picture

    @NiteLiteDF

    How do you fix this without breaking millions of links all over?