Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Critical] Transfer UI changes username in "To" field, sends to wrong account #473

Closed
nathanielhourt opened this issue Sep 30, 2017 · 5 comments

Comments

@nathanielhourt
Copy link
Contributor

Using the GUI currently running on https://bitshares.openledger.info/, go to the transfer form, and type a nonexistent username in the "To" field, and set a valid amount. Even though the "To" field has a "Unknown account" warning, the Send button highlights and works if clicked. Click the Send button, and a confirmation dialog appears offering to send tokens to what appears to be the last valid account name less than the one specified, which, in practice, is a completely arbitrary account. If the user confirms the transaction, tokens are sent to the arbitrary account.

If it helps, an example of such a transfer is on chain with operation ID 1.11.74005217 -- the transfer went to the nathan account even though the To field was populated with nathantest11.

This is a severe bug, as it may cause users to send money to the wrong people in a moment of carelessness. The correct response would be to disable the Send button when the To field is populated with an invalid username, though ideally the bug causing the UI to send to an arbitrary-but-valid account if the Send button gets triggered anyways should be fixed as well.

Bug confirmed present on Opera and Chrome, latest versions.

@btsfav
Copy link

btsfav commented Sep 30, 2017

Openledger is not the reference wallet. please contact openledger.

@abitmore
Copy link
Member

@btsfav do you know whether the reference wallet has this issue as well? if yes IMHO it need to be fixed. I remember that I got similar complaint from another user as well recently, not sure on which hosted UI or the light client.

@btsfav
Copy link

btsfav commented Sep 30, 2017

mh, looks like it falls back to the next best name.

try to send something to favvv, it fell back to fav. like autocorrect, definitely a bug in core too

@abitmore
Copy link
Member

This issue is related to the max-100-account subscription bug.

It affects not only the to field of transfer page, but also (perhaps) affects every page that have an account name field. I recall a much more serious case happened recently: someone accidentally changed issuer of an asset to a wrong account.

@svk31
Copy link
Contributor

svk31 commented Oct 1, 2017

Duplicate of #460 and fixed here: #466

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants