News for hackers. Stuff that matters.
Re:How Ethereum can be stolen through DNS rebinding by cyphar on Sunday March 11, 2018 @09:22AM (#16562867)
> PS: This has been reported to the ethereum foundation but they don’t consider it a valid vulnerability.

This is ludicrous. If a torrent client considers this class of bug to be a vulnerability[1], I don't see why folks who are trying to revolutionise money (something that is far more important than a few small RCEs) don't. While it is true you need to run it with the --rpc option, I'm confused why the RPC is unauthenticated by default, and whether there is any front-end that will start up the RPC server in the background (similar to electrum).

[1]: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-5702

Re:How Ethereum can be stolen through DNS rebinding by tfha on Sunday March 11, 2018 @10:56AM (#16563205)
This type of mentality is very pervasive in ethereum culture. They built their scripting language with this mentality. They chose to have multiple clients with this mentality. They designed their 12 second blocks with this mentality.

That's why a lot of the more technical people really dislike ethereum. It's not one or two problems. The entire system all the way through want made with the mentality of compromising stability in favor of getting features sooner.

Re:How Ethereum can be stolen through DNS rebinding by usrusr on Sunday March 11, 2018 @11:08AM (#16563244)
It does keep etherium in the news though. Maybe the most important feature for crypto success is to be exciting.
Re:How Ethereum can be stolen through DNS rebinding by heurist on Sunday March 11, 2018 @12:48PM (#16563673)
The general public shouldn't be excited about blockchain. It should be hidden by abstraction to them, like multithreading and device drivers. Products intended for non-technical users that tout their blockchain technology are either really missing the mark on marketing or trying to pull the wool over consumers' eyes with buzzwords.

Tech folk should be excited about blockchain but the hysteria over exchanges right now is off-putting once you understand how deeply rigged the markets are. My next venture will be blockchain-based but I have a few years before I'm free to pursue that. I'd rather see the fundamentals of the tech improved in the meantime rather than have it prematurely hyped and have the bubble pop as I seek to raise funding...

I imagine there are many others who are in the position of wanting to build apps based on blockchain tech but who are not yet able. For us, slow and steady wins the race.

Re:How Ethereum can be stolen through DNS rebinding by Erlich_Bachman on Sunday March 11, 2018 @01:21PM (#16563822)
It sounds like you're trying to tell the market what it should and should not buy. That's not how it works. The market tells you what it has chosen, then you can choose your reaction to it. Your reaction seems to be "disapproval"? Well that's mildly interesting I guess.

Saying "they're missing the mark on marketing" about the second-largest crypto by market-cap, and surely top-5 in terms of ongoing development is at the very least a bit ironic. They exactly did NOT miss the mark on marketing. There are other technically superior products that don't get nearly as much funding, public attention, development resources etc.

Re:How Ethereum can be stolen through DNS rebinding by simonh on Sunday March 11, 2018 @03:16PM (#16564326)
‘The market’ bought investment funds from Bernie Maddoff, and more recently Martin Shkreli. In February it thought the Dow was worth 24,515 one day and 1,600 points less the next. Sometimes the market is wrong, whatever free market fundies will tell you.
Re:How Ethereum can be stolen through DNS rebinding by derefr on Sunday March 11, 2018 @03:58PM (#16564486)
From an investor's perspective, sure, the market can be "wrong"; and avoiding its incorrect beliefs and hype-trains is how you make gains while avoiding losses.

As an entrepreneur, though, the market makes the final decision on whether you make money, whether it's "right" or "wrong." If you're "right" when the market is "wrong" as an entrepreneur, you lose—you're "ahead of your time" or some other pleasantry meaning "you weren't giving the market what it wanted."

If you want to sell something to the market, then if the market is irrationally exuberant, you have to be irrationally exuberant too.

Re:How Ethereum can be stolen through DNS rebinding by simonh on Sunday March 11, 2018 @04:59PM (#16564746)
You don’t have to be irrationally exuberant to succeed in the market, even if it’s irrationally exuberant. Is every single company on earth leaping and dancing to the latest fad of the minute in order to succeed? Is the secret of Warren Buffets’s success piling in on on all the latest trends? No, yet somehow our economy seems to bubble along ok. So I categorically reject the idea that this is the only way success is gauged, that’s self evidently not true.

Secondly, if the market is wrong and you dance to that tune, eventually when reality catches up the market will realise it’s mistake. Trust me, the market can sell out of your company faster than you can pivot your entire business model.

But sure, it is possible to make money following trends. But it’s not the only way. It’s not an immutable law of capitalism, and there’s plenty of money to be made providing actual, sustainable value.

Re:How Ethereum can be stolen through DNS rebinding by dorgo on Monday March 12, 2018 @06:31PM (#16572294)
>You don’t have to be irrationally exuberant to succeed in the market, even if it’s irrationally exuberant.

Yes, but it is risky. If you don't follow trends/buzzwords you have two threats: 1) You bet that many people (the market) are wrong and you are right. Possible, but unlikely. 2) You bet that after these many people (the market) come to senses and realize that they were wrong (remember: nobody likes to admit that they were wrong), they acknowledge that you are right and buy your product. As the funny saying goes: "the market can stay irrational longer than you can stay solvent".

Re:How Ethereum can be stolen through DNS rebinding by Erlich_Bachman on Monday March 12, 2018 @05:59AM (#16567064)
Absolutely. In no way was my comment saying that the market sentiment is somehow an accurate measure of the underlying quality or even utility of such a product. If anything, I think there are much better projects out there already.

But in a way, being a market leader gives a lot of adoption and a big ecosystem of tools produced by other developers - which in this space means a lot, because a blockchain's usability increases with adoption, even somewhat exponentially.

Re:How Ethereum can be stolen through DNS rebinding by heurist on Sunday March 11, 2018 @11:04PM (#16565971)
I think you miss my point and that you've never tried to sell a technology solution to non-technical consumers. The world is bigger than crypto speculators.
Re:How Ethereum can be stolen through DNS rebinding by tfha on Sunday March 11, 2018 @12:11PM (#16563495)
This happened for waltonchain. They got caught red handed faking a community giveaway, and that was a big enough story to bring them into the spotlight and push them into the top 30 cryptocurrencies by market cap for a bit.
Re:How Ethereum can be stolen through DNS rebinding by asenna on Sunday March 11, 2018 @03:23PM (#16564348)
I'm not sure I understand what you mean. Are you implying they got into the top 30 when that Twitter debacle happened? Didn't their prices plungem
Re:How Ethereum can be stolen through DNS rebinding by monochromatic on Sunday March 11, 2018 @11:30AM (#16563319)
If you're in it to pump up the value of your coin holdings and then dump them, this is absolutely true.
Re:How Ethereum can be stolen through DNS rebinding by bringtheaction on Sunday March 11, 2018 @11:10AM (#16563253)
The downsides of Ethereum is discouraging me a bit from developing on their platform. Then again they are the biggest smart contract crypto currency, but maybe it could be worth to build things with another one even so. Could you recommend some with good technical foundations that are ready for use today and with enough documentation that it’s possible to understand? I know Ark plan to but as far as I am aware they have not yet implemented smart contracts. NEO on the other hand I know supports smart contracts today and some different languages. Don’t know what actually building something with NEO is like though. Any one have experience with NEO? Any other crypto currencies with smart contracts?
Re:How Ethereum can be stolen through DNS rebinding by Taek on Sunday March 11, 2018 @11:35AM (#16563335)
People don't like to hear this, but blockchain tech isn't ready for a general app platform. Bitcoin could easily be extended to have an EVM if it was a good idea, but there are lots of unsolved problems, gotchas, and overheads that make it a poor choice. I don't think that's the perpetual state of things, but I do think that every 'dapp' platform out there today is bad foundation, and largely that's because it's too early to be making general platforms.

The approach that a couple of currencies have taken (including the one I lead) is to make a separate blockchain entirely dedicated to their app. And I think that's a far better choice than anything out there, though it comes with the glaring downside of needing to build and run your own blockchain, which is a very difficult thing to do.

Most of the apps we are seeing today don't make any sense anyway. Very much smacks of the dotcom bubble, where people who suspected that the Internet would change the world were absolutely correct, but then the companies and ideas they put their money behind were missing the mark by miles.

We've got the same issue today. Most successful ICOs are going to fail very hard, due to known impossibilities, known poor uses of the technology, etc. It's just a general fever that has a lot of new entrants in the space innovating in the wrong direction.

It will get better. Dapp platforms will appear that make sense, have good foundations, and are easy to setup and use. But it's not around the corner, it's probably 3-5 years away.

Re:How Ethereum can be stolen through DNS rebinding by kerkeslager on Sunday March 11, 2018 @01:15PM (#16563793)
> Most of the apps we are seeing today don't make any sense anyway. Very much smacks of the dotcom bubble, where people who suspected that the Internet would change the world were absolutely correct, but then the companies and ideas they put their money behind were missing the mark by miles.

This is the crux of the problem. The cryptocurrencies with the highest valuations right now are ones with serious technical and social flaws--people are investing in cryptocurrencies based on hype rather than merit.

Ethereum is the most egregious example: the idea that a JavaScript-like language is what you'd want to write your security-intensive code in is mind-boggling-ly stupid, and after the community showed themselves to be willing to perform a 51% attack on their own blockchain to fix a problem with the DAO, it's not even decentralized any more. So technically you have all the downsides of writing secure software in JavaScript, and socially you have all the problems of centralization AND all the problems of decentralization. The security flaw this thread is about would be a critical vulnerability to any competent security developer, but it's really minor compared to the more fundamental flaws.

But even in competently-developed cryptocurrencies, the problems are still there because people don't understand or value decentralization, which is literally the entire reason Blockchain is worthwhile. The number of people who buy cryptocurrencies and then leave their coins sitting on an exchange is incredible. You're literally donating money to the world's biggest bug bounties when you do that.

Re:How Ethereum can be stolen through DNS rebinding by dorgo on Monday March 12, 2018 @07:31PM (#16572644)
In my opinion, decentralization is not the point of crypto-tech. Maybe it's some minor feature, but not the selling proposition. The major feature is the formalisation of the concept of consensus. Forks are a manifestation of this feature. "a 51% attack on their own blockchain" is a major feature of crypto-tech. In the last century we would call this a revolution. In this century issues like this can be resolved enterily in software. It's an opt-in economy and in some years an opt-in society.

The only reason you think the cash in your portemonai is worth something is that everybody else things the same. As soon as everybody stops believing it, the paper in your wallet can still be used to make fire. Same goes for authorities. Judges, policemen, presidents are what they are because everybody believes it. We have already an informal consensus of who is a policeman and who is not. Most of the time it resolves to whether somebody wears the uniform. Crypto tech promises to make this verifiably. No need for uniforms.

Re:How Ethereum can be stolen through DNS rebinding by kerkeslager on Tuesday March 13, 2018 @07:39PM (#16580896)
> The major feature is the formalisation of the concept of consensus. Forks are a manifestation of this feature. "a 51% attack on their own blockchain" is a major feature of crypto-tech. In the last century we would call this a revolution. In this century issues like this can be resolved enterily in software. It's an opt-in economy and in some years an opt-in society.

Huh? No. Distributed consensus was formalized in 1978 by Leslie Lamport and the first version of Paxos was introduced in 1989. If you're okay with centralization, Paxos or it's successor, Raft, are much faster and more scalable algorithms than blockchain, and have a wide variety of mature implementations.

Re:How Ethereum can be stolen through DNS rebinding by thisisit on Sunday March 11, 2018 @11:58AM (#16563439)
> People don't like to hear this, but blockchain tech isn't ready for a general app platform.

This cannot be stressed enough. But, I disagree that building your own blockchain is the answer in comparison to using EVM. The amount of blockchains and services people might end up needing will be huge. So, it seems the correct usage for blockchain is still far out.

Re:How Ethereum can be stolen through DNS rebinding by phoenix9 on Monday March 12, 2018 @01:36PM (#16569784)
What about steemit.com? The more scalable eos.io platform isn't finished but they are very close. Do you consider dpos not to be blockchain tech?
Re:How Ethereum can be stolen through DNS rebinding by tessierashpool on Sunday March 11, 2018 @12:09PM (#16563489)
I agree with this overall, but have serious reservations here:

Bitcoin could easily be extended to have an EVM

are you talking about Script, or some other approach I don’t know about? I think it’s pretty optimistic to put the word “easily” anywhere near a proposed use of Script.

Re:How Ethereum can be stolen through DNS rebinding by earlz on Sunday March 11, 2018 @12:16PM (#16563528)
I don't know about "easily", but that's pretty much exactly what Qtum did. It's a UTXO blockchain with EVM and other smart contracts on top. It required about 6 solid months to figure out how to make it work and the output of that is something called "The Account Abstraction Layer" to basically decouple smart contracts from the underlying blockchain protocol
Re:How Ethereum can be stolen through DNS rebinding by dreit1 on Sunday March 11, 2018 @07:18PM (#16565246)
NEO is still very raw, and it takes a lot of work to get involved, however it’s a tight nit developer community and some serious opportunities to get involved and shape the project. Source: I am active in the developer community and have a company building on NEO
Re:How Ethereum can be stolen through DNS rebinding by bringtheaction on Sunday March 11, 2018 @09:31PM (#16565665)
I’ve been interested in NEO but not sure where to begin. Do you have any links you could recommend? Also tell a bit more about your company and what you are building if you’d like.
Re:How Ethereum can be stolen through DNS rebinding by dreit1 on Monday March 12, 2018 @04:45AM (#16566850)
https://github.com/CityOfZion/awesome-neo

lots of resources here, also recommend mentioning the discord here

https://discord.gg/R8v48YA

This is where the primary technical discussion happens, and where all the devs hang out. Our company is here, mobile wallets are our first product :)

https://o3.network

Re:How Ethereum can be stolen through DNS rebinding by bringtheaction on Monday March 12, 2018 @09:26AM (#16567970)
Thanks. I checked out your site and it mentions open source and commitment to the community but I can’t find the repo for your iOS wallet on https://github.com/O3Labs
Re:How Ethereum can be stolen through DNS rebinding by dreit1 on Tuesday March 13, 2018 @05:45AM (#16574803)
Re:How Ethereum can be stolen through DNS rebinding by justaguyhere on Sunday March 11, 2018 @01:20PM (#16563816)
Are there any other platforms that one can learn, that are perhaps not as well known as Eth, but also don't have Eth's problems?
Re:How Ethereum can be stolen through DNS rebinding by Erlich_Bachman on Sunday March 11, 2018 @01:26PM (#16563848)
Waves platform, NEM, NEO, many others. Replacing (or at least partially re-capturing a part of) Ethereum's success is one of the next big things that many projects are trying to do. It became clear that some form of smart contracts are considered very valuable by the market, at least ICOs - and it's clear that a platform that will win in this regard will become Huuge. There are also clear disadvantages that Ethereum has, so this is an obvious vacuum that many projects are trying to fill.
Re:How Ethereum can be stolen through DNS rebinding by justaguyhere on Sunday March 11, 2018 @01:33PM (#16563877)
Thanks for responding. Are you doing projects with any of them? Which would you suggest for a beginner?
Re:How Ethereum can be stolen through DNS rebinding by CryptoPunk on Sunday March 11, 2018 @02:56PM (#16564242)
A lot of the commenters here don't understand the cryptocurrency market and are vastly overstating Ethereum's flaws.

The truth is that the EVM is perfectly secure and the problems with Solidity are due to the fact that any new smart contract development environment was bound to have problems at the initial stages.

Solidity is being rapidly improved and there are several other programming languages under development for the EVM as well.

As for market significance, Ethereum is the only smart contract platform that's relevant.

There are now over a million MetaMask installations that can interact with any Ethereum Dapp, and millions of MEW wallets that can hold ERC20 tokens.

Ethereum-based tokens saw their share of the total token market cap grow from 73% to 92% from July 2017 to January 2018. The platform has 30X more developers working on it than the next most active one.

That means that almost all of the decentralized exchanges and other value-adding applications are compatible with the ERC20 standard, creating a positive feedback loop of encouraging new projects to build on Ethereum.

Ethereum is more likely than not going to be the platform for smart contract development.

Re:How Ethereum can be stolen through DNS rebinding by fourstar on Sunday March 11, 2018 @02:13PM (#16564074)
Re:How Ethereum can be stolen through DNS rebinding by earlz on Sunday March 11, 2018 @12:15PM (#16563517)
Disclaimer: co-founder of Qtum

Qtum sounds like the thing you could be looking for. To TL;DR; it, Qtum is a smart contract platform on an independent blockchain that supports PoS (not DPoS, true PoS) and designed to support multiple smart contract VMs. Right now it only supports the EVM and thus can only run Solidity smart contracts, but later this year we'll release a new VM based on the x86 architecture so that it will be possible to use mainstream languages like C++, Rust, Go, etc...

Anyway, ending the whole description bit, we built it because of similar thoughts as you. Tired of seeing the only suitable smart contract platform (Ethereum) be treated like some philosophical research project, rather than a platform that businesses and people stake hundreds of millions of dollars on. Everything we design is intended to be practical to not just use, but also implement. We pride ourselves in never missing any deadlines we set for ourselves, and in never having some pipe dream project that won't be ready to use for 5 years.

Re:How Ethereum can be stolen through DNS rebinding by Bombthecat on Sunday March 11, 2018 @05:04PM (#16564773)
EOS might be of interest or lisk.
Re:How Ethereum can be stolen through DNS rebinding by karalabe on Sunday March 11, 2018 @03:55PM (#16564471)
Re:How Ethereum can be stolen through DNS rebinding by baby on Monday March 12, 2018 @10:37AM (#16568372)
I'm old to the thread but I figured I would bring some arguments against ranking this vulnerability as a high severity one for geth:

* This is a "browser bypass of SOP" issue. All your "unauthenticated" local services should be vulnerable.

* A good part of Geth's usage is for servers that do not browse the internet.

* You usually do not handle accounts inside of a geth node, instead you open the node's API via RPC and have another tool that sends already-signed transactions to it. That means that this attack would probably not yield much if not allow someone to use the geth node as a public node to query public information.

* If you do decide to handle accounts in there, you would probably (1) not open the node with RPC and (2) have the accounts be encrypted. See Ethereum's documentation[1] :

> It supports interactive mode, when you are prompted for password as well as non-interactive mode where passwords are supplied via a given password file. Non-interactive mode is only meant for scripted use on test networks or known safe environments.

[1]: https://github.com/ethereum/go-ethereum/wiki/Managing-your-a...

Re:How Ethereum can be stolen through DNS rebinding by benchaney on Sunday March 11, 2018 @10:27AM (#16563122)
I very much doubt that torrent client authors consider this to be a vulnerability in their client, but they fixed it anyway because they prefer to work around browsers being weird than to leave all their users vulnerable. I suspect this will eventually be the position of the Ethereum Foundation, but who knows.
Re:How Ethereum can be stolen through DNS rebinding by lolikoisuru on Sunday March 11, 2018 @10:32AM (#16563135)
>I very much doubt that torrent client authors consider this to be a vulnerability in their client

How could anyone not consider this a vulnerability when it has an actual CVE assigned to it?

The discussion in the github issue also shows they took it pretty seriously: https://github.com/transmission/transmission/pull/468

Re:How Ethereum can be stolen through DNS rebinding by benchaney on Sunday March 11, 2018 @10:38AM (#16563150)
It is certainly a vulnerability. It just isn't a vulnerability in the torrent client, but rather with browsers. Note that this PR is to mitigate the vulnerability, not to fix it.
Re:How Ethereum can be stolen through DNS rebinding by mikeash on Sunday March 11, 2018 @11:42AM (#16563370)
I don't understand how an unauthenticated RPC service is not a vulnerability just because it only listens on localhost. I'm not aware of any sensible security model which assumes that all code running on the local computer with network access is trustworthy. Even the old, standard UNIX security model only assumes that code running under your user is trustworthy.
Re:How Ethereum can be stolen through DNS rebinding by vbezhenar on Sunday March 11, 2018 @05:19PM (#16564853)
I think that it's a vulnerability in browser. It was surprise for me, that it's possible to issue POST requests to some completely unrelated website just because dns changed its IP. 127.0.0.1 is one example, but I'm sure that there are billions websites which process POST requests for important actions and their webserver doesn't check "Server:" header. This attack just circumvents origin policy, it's definitely a browser bug.
Re:How Ethereum can be stolen through DNS rebinding by skybrian on Sunday March 11, 2018 @12:11PM (#16563500)
Well, it's all relative to the threat model. It makes some sense on a single-user machine where you don't run any untrusted code, as the same user or not.

On a single-user machine, an attack scenario where authenticating localhost would actually do some good would be some other account existing that's easier to break into than the account of the user actually doing stuff. But if no other login exists?

Re:How Ethereum can be stolen through DNS rebinding by cyphar on Sunday March 11, 2018 @09:15PM (#16565609)
It should be noted that a desktop is not a single user machine, even though there may only be one human user operating the machine. A single user machine is a machine running in runlevel 1 -- in other words every process on the machine is running as one user and you cannot switch users.

Modern desktops do not run at runlevel 1. All sorts of services and daemons run under different users, so having an unauthenticated service listening on localhost is less secure even on a desktop machine. If you have network services running on a desktop machine (common) then a simple RCE in an unprivileged user (with respect to the human user) can result in wallet compromise. If the API was authenticated that would not be possible.

Unix DAC protects users from one another, so any service which exposes personal information outside of the currently running user has objectively inferior security to a security model invented in the 1960s.

Re:How Ethereum can be stolen through DNS rebinding by mikeash on Sunday March 11, 2018 @12:36PM (#16563616)
I can see where you might set things up like that on a single-user machine after careful consideration of everything that's running on it. But making that the default seems like madness.
Re:How Ethereum can be stolen through DNS rebinding by shp0ngle on Sunday March 11, 2018 @10:25AM (#16563115)
Because it's Ethereum.

And Ethereum is actually terrible.