Better HN
topnewbestaskshowjobs
Log inSign up

l_zzie

14 karma · joined Aug 7, 2016 (10y ago) · 17 submissions

Submissions

comment 10y ago · link · parent

"it's rather trivial"? Have you done it?

comment 10y ago · link · parent

It's pretty hard with strcmp. On modern x86_64 strcmp is vectorised and the first N bytes are compared simultaneously.

I have code samples + remote exploit code against nonvectorised strcmp; I can write this up if anyone thinks it would be helpful.

comment 10y ago · link · parent

I tried to get nrepl to accept http requests once and I couldn't make it validate anything. (But of course I'd love to see someone manage to do it...)

comment 10y ago · link · parent

I don't think this is the same vulnerability. You don't even need to rebind DNS to do it, I believe: just make an XmlHTTPRequest. Your GET is considered code. The browser will get back a request that doesn't have a cors header and so not let you read it, but your code still executes. So there's no reason to be on the same origin, so DNS rebinding is unnecessary

comment 10y ago · link · parent

It's not only a DNS rebind attack. I'm pretty sure in this case even a GET could get rce , so you don't even need to check the cors headers. You can just XHR.

comment 10y ago · link · parent

That could be nice. So, now the browser needs to understand routing tables?

comment 10y ago · link · parent

Emacs has this: org mode and Dita.

comment 10y ago · link · parent

Do you browse to html files on your attachment server? That's a pretty bad idea security-wise

comment 10y ago · link · parent

Some portion of the work could be comstant-time.

comment 10y ago · link · parent

Importantly, fetching DNS twice (once to check, another to download) is an incomplete solution, since DNS responses can change (cf "DNS rebinding").

comment 10y ago · link · parent

How does it get past aslr? You still need to find addresses of the movs, don't you?

comment 10y ago · link · parent

On iPhone, user-mode exploits remain sandboxed. On Android, on rooted devices, user mode code tends to be able to get root.

comment 10y ago · link · parent

fwiw, stateless light switches are nice in that you can have many light switches controlling the same light. Not saying they're perfect but they have advantages.

comment 10y ago · link · parent

I can't believe New Jersey would let someone brazenly advertise religiously-motivated cannibalism.

comment 10y ago · link · parent

"undefined" isn't the problem here, seq is.