Better HN
topnewbestaskshowjobs
Log inSign up

deepCelibate

77 karma · joined Jul 16, 2021 (5y ago) · 23 submissions

Submissions

1.

GNU libmicrohttpd version 1.0.0 released(lists.gnu.org ↗)

3 points · by deepCelibate · 2y ago · discuss

comment 3y ago · link · parent

It does include notes for every change introduced in v2 (there aren't many changes from v1)

3.

A Visual Guide to the GPL License(sebastiancarlos.com ↗)

11 points · by deepCelibate · 3y ago · 4 comments

4.

Reacting to the GPL License(sebastiancarlos.com ↗)

1 points · by deepCelibate · 3y ago · 1 comment

5.

Web 3.0 Considered Harmful. The Web Incompleteness Theorem(sebastiancarlos.medium.com ↗)

2 points · by deepCelibate · 5y ago · discuss

comment 5y ago · link · parent

Author here. You are correct about everything. I appreciate that you took the time to write this.

The only exception is that, honestly, I'm not very familiar with the topic. I did try to mock the typical pseudo-tutorial articles, but I don't claim that I can do any better.

comment 5y ago · link · parent

Thanks!

comment 5y ago · link · parent

In all fairness, the previous versions didn't post correctly; they were never visible (you can verify this). I think it was an issue caused by the temporary outage yesterday.

comment 5y ago · link · parent

Author here, you are correct.

I guess I was trying to express the "saudade" of finding a new topic but not having the time to learn it properly.

10.

From AI to ZI. An encyclopedia of the I-tier tech stack(sebastiancarlos.medium.com ↗)

1 points · by deepCelibate · 5y ago · discuss

11.

I Ching and JavaScript. A mystical approach to front-end development(sebastiancarlos.medium.com ↗)

1 points · by deepCelibate · 5y ago · discuss

12.

Kanye and the ontology of bleached T-shirts. A JavaScript implementation(medium.com ↗)

3 points · by deepCelibate · 5y ago · discuss

comment 5y ago · link · parent

Great article!

So, let me see if I get this straight...

cdnjs is a CDN for javascript libraries. cdnjs has a "library update server", in which an "auto-update script" runs periodically to update the libraries that the CDN offers. If it finds a new version of a library, it downloads the files from the library's git repository, and it publishes them on the CDN.

There can be symlinks in git repositories, but the "auto-update script" doesn't handle them correctly. And that's the core of the vulnerability.

If you own the git repository of a library published by cdnjs, you could add a symlink to the git repository. The symlink could point to a file that you want to access on the cdnjs "library update server". Then, as soon as the "auto-update script" runs, the file's contents will be public to everyone on the CDN.

But how would you manage to create a malicious library and have it approved by cdnjs? That's the part of the exploit that sounds the hardest, and I don't see a reasonable way to go about it.