正在加载视频...

视频加载失败

Weeks later... GitHub bug still dropping malware 👌

92,643 次观看 • 2 年前 •via X (Twitter)

10 条评论

Bret Comnes 的头像
Bret Comnes2 年前

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

herrcore 的头像
herrcore2 年前

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. <github user>/<github repo>/releases/download/<assets> This bug/feature allows arbitrary uploads to the following paths on any <github repo>. <github user>/<github repo>/assets/<file> <github user>/<github repo>/files/<file> 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

Dennis Griffin 的头像
Dennis Griffin2 年前

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

herrcore 的头像
herrcore2 年前

Scroll down I already explained in detail

Robert Yates 的头像
Robert Yates2 年前

mimikatz 🤣🤣🤣🤣 instant regret

Parth Prajapati 的头像
Parth Prajapati2 年前

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.

smallshen 的头像
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 ⨻ 的头像
Richard ⨻2 年前

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

The Cyber Post 的头像
The Cyber Post2 年前

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 的头像
NiteLite2 年前

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

相关视频