Slashdot Mirror


Microsoft Tries To Censor Bing Vulnerability

An anonymous reader writes "Microsoft's Bing search engine has a vulnerability with its cash-back promotion, which impacts both merchants and customers. In traditional Microsoft fashion, the company has responded to the author of the breaking Bing cash-back exploit with a cease & desist letter, rather than by fixing the underlying security problem. It is possible for a malicious user to create fake Bing cash-back requests, resulting in not only fake cash-back costs for the merchant, but also blocking legitimate customers from receiving their cash-back from Bing. The original post is currently available in Bing's cache, although perhaps not for long. But no worries, the author makes it clear that the exploit should be painfully obvious to anyone who reads the Bing cash-back SDK."

77 of 275 comments (clear)

  1. And now thanks to /. and microsoft by Shadow+of+Eternity · · Score: 5, Insightful

    it will probably be all over the rest of the internet and general common knowledge within the week.

    --
    A bullet may have your name on it but splash damage is addressed "To whom it may concern."
    1. Re:And now thanks to /. and microsoft by u38cg · · Score: 5, Funny
      That seems pretty unlikely to me.

      ~Barbara

      --
      [FUCK BETA]
    2. Re:And now thanks to /. and microsoft by Choozy · · Score: 2, Interesting

      it will probably be all over the rest of the internet and general common knowledge within the week.

      The way you phrased this, it would seem to indicate that you are against slashdot for releasing this information. I fail to see how releasing this type of information is a bad thing. You would be better off believing in fairies than thinking only 1 person will find a way to exploit a bug. The more people who know about this issue the better as it will be more likely that microsoft will actually fix the bug instead of suppressing the author.

    3. Re:And now thanks to /. and microsoft by Anonymous Coward · · Score: 2, Informative

      Just wait for it.
      -Barbra

    4. Re:And now thanks to /. and microsoft by Anonymous Coward · · Score: 3, Insightful

      The phrasing seemed pretty neutral to me. How would you have phrased it so that it doesn't seem to indicate that it is a bad thing?

    5. Re:And now thanks to /. and microsoft by Shadow+of+Eternity · · Score: 4, Insightful

      GP just wants someone to hate on, you don't get much more neutral in phrasing than that without making a two word post saying only "Streisand effect."

      --
      A bullet may have your name on it but splash damage is addressed "To whom it may concern."
    6. Re:And now thanks to /. and microsoft by BrokenHalo · · Score: 3, Interesting

      The thing that strikes me as odd is why anybody would bother taking the time to meddle with Bing. Does anybody actually use it? Really?

      I know Google has its detractors, but surely no more than Microsoft. We can't all be Steve Ballmer...

    7. Re:And now thanks to /. and microsoft by Anonymous Coward · · Score: 5, Informative

      like this you mean?

      Breaking Bing Cashback
      Posted November 4th, 2009 by Samir

      I've never bought anything using Bing Cashback, but the balance of my account is $2080.06. Apparently, I placed two $1 orders on January 24th of this year, and spent another $104,000 on October 24th. Let's see how these transactions might have "accidentally" got credited to my account.

      First, we need to try to figure out how transactions get into Bing Cashback. Microsoft posted some documentation here. The explanation of how a merchant reports transactions to Bing starts on page 20. Merchants have a few options for reporting, but Bing suggests using a tracking pixel. Basically, the merchant adds a tracking pixel to their order confirmation page, which will report the the transaction details back to Bing. The request for the tracking pixel looks something like this:

      https://ssl.search.live.com/cashback/pixel/index?
      jftid=0&jfoid=&jfmid=
      &m[0]=&p[0]=&q[0]=

      This implementation, while easy for the merchant, has an obvious flaw. Anyone can simulate the tracking pixel requests, and post fake transactions to Bing. I'm not going to explain exactly how to generate the fake requests so that they actually post, but it's not complicated. Bing doesn't seem to be able to detect these fake transactions, at least not right away. The six cents I earned in January have "cleared," and I'm guessing the remaining $2080 will clear on schedule, unless there is some manual intervention.

      Even if Bing detects these fake transactions at some point in the future, the current implementation might have another interesting side effect. I haven't done enough work to say it with confidence, but a malicious user might be able to block another user's legitimate purchases from being reported correctly by Bing (I only tried this once, but it seemed to work). Posting a transaction to Bing requires sending them an order ID in the request. Bing performs a reasonable sanity check on the order ID, and will not post a transaction that repeats a previously reported order ID. When a store uses predictable order ID's (e.g. sequential), a malicious user can "use up" all the future order ID's, and cause legitimate transactions to be ignored. Reporting would be effectively down for days, causing a customer service nightmare for both Bing and the merchant.

      Based on what I've found, I wouldn't implement Bing Cashback if I were a merchant. And, as an end user and bargain hunter, it does not seem smart to rely on Bing Cashback for savings. In our next blog post, I'll demonstrate some other subtle but important reasons to avoid using Bing Cashback.

    8. Re:And now thanks to /. and microsoft by theurge14 · · Score: 4, Insightful

      Wow, I didn't realize that there are people that still believe in that 'security through obscurity' nonsense.

    9. Re:And now thanks to /. and microsoft by mcvos · · Score: 5, Insightful

      Financial transactions based on a tracking pixel? Really? I just don't know where to start to point out how wrong that is.

      PayPal has dozens of different ways to pay, and most of them suck, but at least they don't encourage people to rely on tracking pixels. Either you explicitly send the customer to the payment gateway (including login or entering credit card info there) to authorize the transaction, or you have your own server talk directly to the payment gateway. Relying on a hidden browser-side hack for a financial transaction is just amazingly stupid and unnecessary, even if you don't spot any obvious flaws right away (because someone else will).

    10. Re:And now thanks to /. and microsoft by buchner.johannes · · Score: 5, Insightful

      In traditional Microsoft fashion, the company has responded to the author of the breaking bing cashback expoit with a cease & desist letter, rather than by fixing the underlying security problem.

      Maybe they are doing both?

      The cease and desist letter seems partially reasonable:

      Specifically, at this site you are providing information directing users how to misuse the microsoft Bing Cashback program through unauthorized technical means. Further, on this website you admit that you have personally misused the Cashback program in this regard.

      It's pretty stupid to admit you violate a law on a blog that has your name on it. He should have used a anonymous blog for that or inform Microsoft of the issue in the first place.

      --
      NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
    11. Re:And now thanks to /. and microsoft by lorenlal · · Score: 3, Informative

      Microsoft is working their Bing campaign hard. I'm seeing ads for it everywhere. I've got a feeling there are at least some folks who will try it out, and maybe even like it. Oh, and if you ever go to Microsoft.com and try searching for anything you're using Bing. There's a reasonable chance that you'll eventually accidentally use Bing.

    12. Re:And now thanks to /. and microsoft by QuoteMstr · · Score: 4, Interesting

      Relying on a hidden browser-side hack for a financial transaction is just amazingly stupid and unnecessary, even if you don't spot any obvious flaws right away (because someone else will).

      And people often do precisely that for affiliate programs. Is it any wonder these programs make up one of the shadier areas of the internet?

    13. Re:And now thanks to /. and microsoft by Homburg · · Score: 5, Insightful

      I'm not sure how this is a sensible response to a poster complaining about security through obscurity: security through obscurity is exactly the problem here. We use information like SSN and address which are not in any way secret, merely obscure, as a way to supposedly verify identity, and that's why we have so much identity theft. The reason no-one wants to post their SSN and address on Slashdot is precisely because security through obscurity sucks.

    14. Re:And now thanks to /. and microsoft by AvitarX · · Score: 2, Informative

      I keep an IE window open at work for the sake of an additional gmail account.

      Sometimes I accidentally use its search box over Fire Fox's, and yuck, nobody will like it.

      The results are so haphazard, it feels like their parody of google is what actually drives Bing.

      I don't know how this late in the game a search engine can be so bad.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    15. Re:And now thanks to /. and microsoft by IsThisWorking · · Score: 5, Informative

      Security through obscurity is not about relying on secrecy of data, but about relying on secrecy of the algorithm or implementation. Those two things are different.

      If you do not make the distinction between data/information secrecy and design/algorithm/protocol/implementation secrecy, then you do not understand what security is.

    16. Re:And now thanks to /. and microsoft by 0100010001010011 · · Score: 2, Informative

      CashBack? Last Christmas Live cashback was up to 30%. I milked the hell out of that for Christmas presents.

      Now it fluctuates between 5 and 10%, nothing big but it's not bad.

      As far as actually using it for its intended purpose, nah.

    17. Re:And now thanks to /. and microsoft by tomhudson · · Score: 2, Insightful

      Search for "Streisand Effect" Barbra Streisand sued to prevent publication of some pictures; as a result, it became newsworthy.

    18. Re:And now thanks to /. and microsoft by ShadowRangerRIT · · Score: 2, Interesting

      You know, just because they make it easy doesn't mean it's not hacking. Is it not breaking and entering if a homeowner uses a flimsy lock? (don't get cute and try and say this is no lock at all; it's just a very bad one) If he intentionally exploited this flaw to register fake transactions, then yes, it would be a crime, and for good reason. This isn't some abuse of the hacking law, like trying to nail people for violating the ToS of a site and calling it hacking, this is basically the definition of the term (in the real world; I know some pedants want to call it cracking instead of hacking, but to the non-geek world, it's hacking).

      --
      $_ = "wftedskaebjgdpjgidbsmnjgcdwatb"; tr/a-z/oh, turtleneck Phrase Jar!/; print
    19. Re:And now thanks to /. and microsoft by commodore64_love · · Score: 2, Insightful

      Your comment about the "bloody knife in your hand" reminds me of a recent case in Baltimore. A man was presumed guilty and spent over 20 years in jail, because he was at the scene of the crime, and he *looked* guilty. But then a test was performed, and it was discovered that the DNA left-behind by the murderer (on the knife) was not the man in prison. Baltimore had caused an innocent man to lose 20+ years of his life.

      This type of thing happens a LOT. We shouldn't be presuming guilt. We should be presuming innocence. Just because you have a knife in your hand, or child images on your PC, or $2000 suddenly appeared in your Bing Cash account, doe snot mean you committed the crime. You could have been framed (malware) or mistakenly identified (your neighbor downloaded the stolen songs, not you) or whatever.

      The onus should be on the prosecutor, not to just provide evidence, but also proof that YOU committed the actual act. If he can't do the latter then you should presumed innocent and freed.

      --
      "I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
    20. Re:And now thanks to /. and microsoft by Daetrin · · Score: 2

      Well clearly the poster meant to indicate that if the GP isn't happy with the security through obscurity used by our current banking and social security system then why hasn't he gone out and created his own banking and social security system? With blackjack! And hookers! In fact, forget the banking and social security system!

      --
      This Space Intentionally Left Blank
    21. Re:And now thanks to /. and microsoft by madcow_bg · · Score: 2, Interesting

      Obligatory quote from The Black Adder:

      Perkins: Oh, your lawyer now, yes sir. Don't you think that might be a bit
                of a waste of money, sir.

      Edmund: Not when he's the finest mind in English legal history. Ever heard
              of Bob Mattingburg?

      Perkins: Oh, yes indeed, sir! A most gifted gentleman!

      Edmund: I remember Mattingburg's most famous case, the case of the bloody knife.
              A man was found next to a murdured body, he had the knife in his hand,
              thirteen witnesses that seen him stab the victim, when the police
              arrived he said, "I'm glad I killed the bastard." Mattingburg not
              only got him off, but he got him knighted in the New Year's Honors
              list, and the relatives of the victim had to pay to have the blood
              washed out of his jacket.

    22. Re:And now thanks to /. and microsoft by realityimpaired · · Score: 2, Informative

      Wow, I didn't realize that there are people that still believe in that 'security through obscurity' nonsense.

      It's not nonsense, it's just silly to expect it to be your only line of defense. By all means use an obscure platform, as long as you have people who can maintain and support it, but don't use it as a substitute for some common sense, and for securing your system, keeping it properly maintained and updated, limiting points of entry, blocking remote root access, using non-standard, non-root usernames with very secure passwords for system maintenance/root tasks, etc..

      But security through obscurity does still offer an amount of extra security, and shouldn't be dismissed out of hand.

    23. Re:And now thanks to /. and microsoft by FooAtWFU · · Score: 3, Insightful

      Heck, publicizing the thing is a pretty good show of his intent. If he'd wanted to defraud Microsoft, he'd be keeping quiet about it. This is pretty clearly about disclosing a vulnerability, not "bragging" about defrauding a large corporation.

      --
      The World Wide Web is dying. Soon, we shall have only the Internet.
    24. Re:And now thanks to /. and microsoft by rev_g33k_101 · · Score: 5, Funny

      The results are so haphazard, it feels like their parody of google is what actually drives Bing.

      I don't know how this late in the game a search engine can be so bad.

      answer:

      Because
      It's
      Not
      Google

      It's all in the name :D

      --
      "The problem with defending the purity of the English language is that English is about as pure as a cribhouse whore."
    25. Re:And now thanks to /. and microsoft by FlyingBishop · · Score: 2, Informative

      No, but let's take a car analogy, as this is Slashdot:

      Say you leave your keys in your car, in plain view, and someone notices this, and goes into the conference center that you're at and informs several people that someone has left their keys in plain view out in the parking lot, and should deal with the situation. Soon everyone knows, and the conference management (Slashdot, we'll say) makes an official announcement.

      Now, to make it a little more interesting, it isn't your car, but you were driving, and you tell the owner of the car (also at the conference) not to worry about it, it will be fine. The owner does not agree, but cannot leave, and you refuse to remedy the situation.

      Now, there are three responsible parties here, should the car get stolen.
      1) The moron who left the keys in the car (Microsoft)
      2) The guy who went around describing the make, model, and location of the car (exploit publisher)
      3) Everyone at the conference. (The Internet)

      Now, Slashdot falls under #3, but why call out Slashdot to the exclusion of #2, or the internet at large? Slashdot is likely the first place many will hear of it, but if they hadn't published it that wouldn't have stopped anyone from reading and talking about the exploit writer's publicly available explanation.

      In short, citing two causes of something as primary causes when there are clearly other actors with notable roles is the very definition of placing blame.

    26. Re:And now thanks to /. and microsoft by NekSnappa · · Score: 4, Funny

      Common man! This is /. so it has to be self-referencing
      Bing
      Is
      Not
      Google

      --
      I want to shoot the messenger!
    27. Re:And now thanks to /. and microsoft by Dishevel · · Score: 2, Insightful
      Time to burn some karma. I know this is flamebait but I feel the need.

      No, you get more neutral in tone by not blaming /. as you did in the title. If you had simply said "And now it will be all over the net." That would be neutral. However, you specifically chose to call out Slashdot and Microsoft as responsible for the Streisand Effect.

      Slashdot is running the story that Microsoft is trying to hide. Therefore they are in fact RESPONSIBLE.

      You are an idiot and need to STFU and go away for the day.

      --
      Why is it so hard to only have politicians for a few years, then have them go away?
    28. Re:And now thanks to /. and microsoft by amicusNYCL · · Score: 2, Insightful

      This is pretty clearly about disclosing a vulnerability, not "bragging" about defrauding a large corporation.

      That doesn't change the fact that he did indeed defraud Microsoft and that he also intended to do it. That's something he could easily get convicted on. It doesn't really matter why he defrauded them, if he did so and intended to then he's guilty of the crime.

      --
      "Our two-party system is like a bowl of shit looking at itself in a mirror." - Lewis Black
    29. Re:And now thanks to /. and microsoft by witherstaff · · Score: 2, Informative

      There is a current case before the supreme court along this line. The argument is there is no constitutional right not to be framed. Oh and the Obama admin backs this stance, along with 28 states.

  2. How does he know MS isn't doing anything else? by blankinthefill · · Score: 5, Insightful

    I'm curious how 'anonymous reader' knows that Microsoft is doing nothing to fix the problem. This has been bugging me for a long time. Its possible that a workable solution could take some time to get implemented, and in that time, doesn't it make sense to send a C&D letter in the interim? Hell, doesn't it make sense to send the letter anyways, so you don't have all these assholes trying to break your system? A C&D letter doesn't mean that other actions haven't been taken. Just a thought.

    1. Re:How does he know MS isn't doing anything else? by Anonymous Coward · · Score: 3, Funny

      Uh? Cash back is negative income for Microsoft, and as a lawyer who sends C&Ds for a living, I am offended by the fact that you call that "doing nothing".

    2. Re:How does he know MS isn't doing anything else? by MadnessASAP · · Score: 4, Insightful

      Ever heard of the Streisand effect? If you're trying to suppress information about something a C&D is the last thing you want to do. Furthermore many companies when put in an identical situation will respond with "Thank you we are aware of the problem and are currently working on it" rather then a C&D.

      Also you sound like a schizophrenic jackass.

      --
      I may agree with what you say, but I will defend to the death your right to face the consequences of saying it.
    3. Re:How does he know MS isn't doing anything else? by Chrisq · · Score: 4, Insightful

      If they had any sense they would have anticipated the Streisand affect. It would have been much more effective to tell him the situation, ask him to remove the post and offer him whatever they paid their lawyers to issue the injunction as a "good will" gesture. That way if he did release it then he'd look like an @sshole rather than a victim.

    4. Re:How does he know MS isn't doing anything else? by mdenham · · Score: 3, Funny

      You're right, sending C&Ds isn't doing nothing.

      It's actively producing negative work, turning productively spent time into wasted time.

      So congratulations, you're doing less than nothing!

    5. Re:How does he know MS isn't doing anything else? by neothoron · · Score: 5, Interesting

      Problem is, sending a C&D letter is doubly ineffective:

      • it barely has any effect in keeping potential exploiters from getting access to the vulnerability;
      • someone who cared enough about MS so that they could better themselves is treated like a nuisance (at best).

      In fact, compare that to the way the last TLS-related vulnerability was handled; in both cases, a critical flaw is revealed before a fix was ready. In the TLS case, it was handled with forthcoming and transparency. I'm not saying that MS should do the same (MS probably can't); but they would show more respect to Samir, and to all their bing cashback clients, by:

      • Ask Samir to remove most of the "sensible" post information - you know, instead of threaten with litigation from the get-go.
      • Take an official stance on that problem; what's the risk, who's affected, what should be done - instead of leaving bing cashback clients vulnerable to misinformation and abuse.
    6. Re:How does he know MS isn't doing anything else? by value_added · · Score: 3, Insightful

      As to your first point, most business are very secrative about potentially damaging things. I don't understand why it's surprising when MS acts just like every other large corporation in protecting itself.

      It's a truism, if not a cliche, to point out business are secretive about potentially damaging things.

      The difference here is that the scope of damage extends outside narrow corporate concerns. In such situations, it's both fair and reasonable for customers to expect a certain level of transparency. In many industries, disclosures that negatively affect third parties are mandated by law (cue the car analogies).

      Microsoft has chosen, in historically typical fashion, the complete opposite of transparency. The criticisms are well deserved.

    7. Re:How does he know MS isn't doing anything else? by Anonymous Coward · · Score: 4, Insightful

      C&Ds do work in two cases:

      The first is if the C&D gets out fast enough that people are not unable to mirror the information, especially if it is stored in a dynamic database that can't just be grabbed completely with a wget. One example of this: Say someone makes a keygen app that runs on their webserver, and people submit forms to get bogus serial numbers. A C&D would completely smash this, preventing the information from getting released. Similar if people ran other services that could be nailed by an ACTA or DMCA takedown notice.

      The second is that the information that does escape the C&Ds gets pushed from mainstream sites to the seedy corners of the Internet. These are the same areas that have the dubious filesharing programs, the warez "search engines" and "DDL" sites [1], the "bump all Abloy locks in 2 secs, lulz" [2] text files, and other dodgy sites which tend to be more of a test of browser security than a place to find anything useful. So, unless someone is willing to spend time looking for that exact information on a hardened computer, it effectively has vanished.

      Don't underestimate the power of lawyers. They have the guys with guns on their side.

      [1]: I have DDL, or direct download in quotes because I have yet to personally see a usable direct download other than a Trojan or a drive by browser exploit in all my years of cleaning malware off of people's PCs who do believe in such fantasies.

      [2]: Yes, I know Abloy locks are unbumpable because of their design, but it is a good example. I don't know anything that defeats their latest PROTEC line of locks other than 12-14 hours of painstaking picking by dedicated speedpickers, or a good long session drilling the sucker out.

    8. Re:How does he know MS isn't doing anything else? by lkcl · · Score: 3, Interesting

      it's the lack of thought for consequences of censorship that has me confused. in this day and age, with the overwhelming occurrences of embarrassment that occurs repeatedly over censorship attempts and cover-up attempts, surely businesses would work out by now that a "thank you! we'll fix this IMMEDIATELY! and we'll even pay you some money, and, for anyone else who is listening, we'll pay a BOUNTY to anyone else who privately reports security problems in the future!" approach would make them appear to be a much more enlightened and responsible company. ... or am i just expecting too much?

      .

    9. Re:How does he know MS isn't doing anything else? by DNS-and-BIND · · Score: 2, Insightful

      Incompetence is more than an adequate explanation. I, for one, am no longer shocked when huge companies admit to shamefully incompetent wrongdoing. And Microsoft has a history of such blind stupidity, so no surprises there either.

      --
      Shutting down free speech with violence isn't fighting fascism. It IS fascism!
    10. Re:How does he know MS isn't doing anything else? by mcvos · · Score: 3, Insightful

      and as a lawyer who sends C&Ds for a living...

      Wow, that's sad. That's almost like admitting to being a parking inspector...

      Parking inspectors do important work. They keep parking spaces available for those who really need them. I feel sorry for the abuse they sometimes get.

    11. Re:How does he know MS isn't doing anything else? by mcvos · · Score: 2, Insightful

      Its possible that a workable solution could take some time to get implemented, and in that time, doesn't it make sense to send a C&D letter in the interim? Hell, doesn't it make sense to send the letter anyways, so you don't have all these assholes trying to break your system?

      How the hell does a C&D prevent assholes from breaking your system? Only fixing your system can do that. They should have sent him a letter expressing their gratitude for pointing out this security hole.

      But more than that, they shouldn't have enabled and encouraged merchants to rely on a horribly insecure payment method.

    12. Re:How does he know MS isn't doing anything else? by vadim_t · · Score: 2, Insightful

      The first is if the C&D gets out fast enough that people are not unable to mirror the information, especially if it is stored in a dynamic database that can't just be grabbed completely with a wget. One example of this: Say someone makes a keygen app that runs on their webserver, and people submit forms to get bogus serial numbers. A C&D would completely smash this, preventing the information from getting released. Similar if people ran other services that could be nailed by an ACTA or DMCA takedown notice.

      That's until it reappears on some site hosted in China or random servers that were broken into.

      The second is that the information that does escape the C&Ds gets pushed from mainstream sites to the seedy corners of the Internet. These are the same areas that have the dubious filesharing programs, the warez "search engines" and "DDL" sites [1], the "bump all Abloy locks in 2 secs, lulz" [2] text files, and other dodgy sites which tend to be more of a test of browser security than a place to find anything useful. So, unless someone is willing to spend time looking for that exact information on a hardened computer, it effectively has vanished.

      So great job, you managed to keep the information from the sysadmins and other upstanding people, but it's still available in the dark corners of the net, where people with questionable motivations can still get at it.

      Now for the company it's all good, but from the global point of view, things are worse than before.

      Don't underestimate the power of lawyers. They have the guys with guns on their side.

      Yep, that worked really well with the AACS key.

    13. Re:How does he know MS isn't doing anything else? by mister_playboy · · Score: 4, Interesting

      I wrote parking tickets as a job in college... very easy. My rule was to let people go if they showed up during the ticketing, which resolves every single confrontation in a positive way. If I had to call a tow truck on the car, I had to stand my ground, but only once did I encounter someone who showed up during the process and was a real dick about it.

      The parking services was second only to tuition and the football team in amount of revenue generated for the school. If anything, I could write more tickets by letting the few people I encountered during my work go and moving on to the 98% of cars whose owners don't show up rather than wasting 20 minutes arguing with each of them.

      Easily the least stressful job I've ever had.

      --
      Do what thou wilt shall be the whole of the Law ::: Love is the law, love under will
    14. Re:How does he know MS isn't doing anything else? by AvitarX · · Score: 2, Insightful

      Simultaneously, they keep the taxes down for those of us that pay the meter.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    15. Re:How does he know MS isn't doing anything else? by realityimpaired · · Score: 3, Interesting

      I've had to fight parking tickets in court, though, because they were unjustly given... If the parking space says, for example, that street parking is allowed until 4:00pm, and they write a ticket that's dated 4:01, then it's unreasonable... around here, they're supposed to give you 5 minutes' leeway to allow for differences in how your watch is set. (that's actually in the law in this part of the world).

      Worse still is the time I was given a $300 parking ticket because the jackass who wrote it was more concerned with meeting his quota than he was looking for the accessible parking permit that was clearly displayed on the dashboard... at least, it was clearly displayed until your view of it was blocked by the parking ticket that the idiot put, quite literally, on top of the accessible parking permit. The ticket wasn't for going over time, it was because my car was parked in a handicapped spot, and he hadn't noticed the permit. That one was resolved by a trip to city hall with both the permit and the ticket, but I shouldn't have had to take an afternoon off work because of a blind parking warden.

      I fully agree that parking inspectors do actually do some important work. And I accept that most of them are just trying to do an honest day's work, and trying to actually perform a civic service. But some of the parking wardens are clearly becoming jaded at being the furries of the law-enforcement community, and are taking it out on people by power tripping.

    16. Re:How does he know MS isn't doing anything else? by ZorinLynx · · Score: 2, Insightful

      This reminds me of Warbird Adventures, an outfit here in FL that offered "experience" flights in WWII era trainers.

      Back in 2005, one of their aircraft broke apart in flight and instructor and student were both killed.

      Did they even post a tiny memorial on the site? Nope. Bad for business. But the disrespect shown for their former employee and customer was enough to keep me from ever recommending them again.

      A little sympathy goes a long way towards a good reputation. The world isn't perfect, and there's no way they could have known about the structural flaw that caused the breakup. (the NTSB did not hold WA liable). Yet their complete cover-up of the incident on their own site has created a lot of resentment in my case.

      Especially since the aircraft that broke up in flight was the one I had flown in months earlier, and the instructor who was killed was with me on my flight.

      Companies need to be more open about these things.

  3. Mirror by Rufus211 · · Score: 4, Informative

    Ive never bought anything using Bing Cashback, but the balance of my account is $2080.06. Apparently, I placed two $1 orders on January 24th of this year, and spent another $104,000 on October 24th. Lets see how these transactions might have accidentally got credited to my account.

    First, we need to try to figure out how transactions get into Bing Cashback. Microsoft posted some documentation here. The explanation of how a merchant reports transactions to Bing starts on page 20. Merchants have a few options for reporting, but Bing suggests using a tracking pixel. Basically, the merchant adds a tracking pixel to their order confirmation page, which will report the the transaction details back to Bing. The request for the tracking pixel looks something like this:

    https://ssl.search.live.com/cashback/pixel/index? jftid=0&jfoid=<orderid>&jfmid=<merchantid> &m[0]=<itemid>&p[0]=<price>&q[0]=<quantity>

    This implementation, while easy for the merchant, has an obvious flaw. Anyone can simulate the tracking pixel requests, and post fake transactions to Bing. Im not going to explain exactly how to generate the fake requests so that they actually post, but its not complicated. Bing doesnt seem to be able to detect these fake transactions, at least not right away. The six cents I earned in January have cleared, and Im guessing the remaining $2080 will clear on schedule, unless there is some manual intervention.

    Even if Bing detects these fake transactions at some point in the future, the current implementation might have another interesting side effect. I havent done enough work to say it with confidence, but a malicious user might be able to block another users legitimate purchases from being reported correctly by Bing (I only tried this once, but it seemed to work). Posting a transaction to Bing requires sending them an order ID in the request. Bing performs a reasonable sanity check on the order ID, and will not post a transaction that repeats a previously reported order ID. When a store uses predictable order IDs (e.g. sequential), a malicious user can use up all the future order IDs, and cause legitimate transactions to be ignored. Reporting would be effectively down for days, causing a customer service nightmare for both Bing and the merchant.

    Based on what Ive found, I wouldn't implement Bing Cashback if I were a merchant. And, as an end user and bargain hunter, it does not seem smart to rely on Bing Cashback for savings. In our next blog post, Ill demonstrate some other subtle but important reasons to avoid using Bing Cashback.

    It seems like people have still not learned to never trust anything from the user. This reminds me of some trivially exploitable web merchants years ago. The would store the entire shopping basket, including prices, in the user's cookies. User simply modifies their cookies so that everything costs $1 or $0.01 and they could order a dozen cpus / t-shirts / whatever for a few bucks.

    1. Re:Mirror by Rufus211 · · Score: 5, Insightful

      Also the guy who posted this is an idiot for placing a $100,000 transaction which would result in a $2,000 payment, and then bragging about it. His two $1 transactions proved the vulnerability and the $0.06 payment generated is easily ignored. The $100k transaction with $2k payment is just flat out wire fraud asking for federal PMITA prison.

    2. Re:Mirror by slimjim8094 · · Score: 4, Insightful

      Parent is not a troll. This guy is seriously in for it - the FBI et.al frowns upon people who cheat companies out of literally thousands of dollars. The six cents would've been overlooked, and prove the point nicely.

      $2k will certainly not be overlooked. Even if he never collects it... he's still fucked.

      --
      I have developed a truly marvelous proof of this comment, which this signature is too narrow to contain.
    3. Re:Mirror by TheWizardTim · · Score: 5, Funny

      Another fun trick was to take a $1 and a $20 and cut them both in half. Then tape half of the $1 and the $20 to make two $21 dollar bills. Silly I know, but if you put them in a change machine, it would look for the numbers in the corners, it would read a 20 then a 1 and then give you $21 in change. You then took the other part and got $21 in change as well. Quick way to double your money. Now the machines check to make sure that all four numbers on the corners match up.

    4. Re:Mirror by jrumney · · Score: 4, Insightful

      it would read a 20 then a 1 and then give you $21 in change.

      Sounds like an urban myth to me. Would it add 20 and 20 from the corners of a normal $20 bill and give you $40 change?

    5. Re:Mirror by QuoteMstr · · Score: 2, Insightful

      Maybe one rooted in truth, however. I can imagine a bill-reader using some simple image recognition against just one corner of the bill. You could get two $20 bills that way.

    6. Re:Mirror by Shrike82 · · Score: 2, Insightful

      I do love the way vague ramblings about evil corporations and the FBI (CIA or NSA would also have been acceptable) automatically gets moderated Insightful. Way to use those mod points my friend...

      --
      You can advertise in this sig from as little as £99.99 a month!
    7. Re:Mirror by Skapare · · Score: 2, Interesting

      No, six cents does not prove a damned thing. There might be code in there to flag "high transactions" for further checks. They KNOW their system is insecure and could put that in there to deal with the less common riskier cases. THIS is a test to see if people can steal more than a few cents. That's what counts. If a system would allow people to steal six cents every now and then, but had means to prevent theft beyond that, I would feel safe with it as a merchant. I want to know if it is possible to steal a major amount. This is a test to determine whether or not they have added that additional security for less common transaction.

      Oh, I'm sure they will pounce on him like crazy. But that's part of why our legal system is broken. As long as he stops at the point where he proves it is possible to steal a significant amount of money, then it is Microsoft that has committed the crime, and the entire chain of executives that were involved in this should be hauled off to prison for several years for fraud (except those who were already known to be informing the government of this crime taking place).

      --
      now we need to go OSS in diesel cars
    8. Re:Mirror by AvitarX · · Score: 2, Insightful

      Well, in his defense he did publish what he did before receiving the money.

      And the 100k transaction was probably the quickest way to actually get noticed, and therefore let them know about the problem.

      --
      Wow, sent an e-mail as suggested when clicking on "use classic" banner, and got a fast response that addressed my msg
    9. Re:Mirror by Boomerang+Fish · · Score: 2, Informative

      Ive never bought anything using Bing Cashback, but the balance of my account is $2080.06. Apparently, I placed two $1 orders on January 24th of this year, and spent another $104,000 on October 24th. Lets see how these transactions might have accidentally got credited to my account.

      Also the guy who posted this is an idiot for placing a $100,000 transaction which would result in a $2,000 payment, and then bragging about it. His two $1 transactions proved the vulnerability and the $0.06 payment generated is easily ignored. The $100k transaction with $2k payment is just flat out wire fraud asking for federal PMITA prison.

      Has anyone here actually read the words he has posted at the begining of his post? At face value it looks like he "discovered" this when he noticed he had an account balance for SOMETHING HE CLAIMS TO HAVE NEVER USED.

      But no, it's so much more fun for everyone here to ignore the words Ive never bought anything using Bing Cashback and Apparently, I placed... and call him an idiot for posted about committing a crime.

      --
      not wort it...

    10. Re:Mirror by Richy_T · · Score: 2, Interesting

      That does remind me of when I managed a change machine at university. It would change 20p, 50p and £1 coins into 10p pieces. Some bright spark worked out (or heard) that you could wrap a 10p coin with tin foil and put it in the machine. Most times it would recognize the coin as 10 and just spit it out but one time in however many, it would take the coin and give change for 50p.

      The fix? The machine had dip switches for what coins it would accept and there was one for 10p that was set to off. I set it to on. The fraudsters would put in their wrapped 10p and receive a nice, shiny unwrapped 10p in change. I saw a few in the collection bin for a couple of weeks and then it stopped.

  4. Most entertaining... by netpixie · · Score: 5, Informative

    is the line from the letter

    "cease and desist the posting in any location of the material and information contained in this post"

    Seeing as it is their SDK that contains the details of this "feature", are they going to send themselves a C&D and then pull the SDK?

  5. Quote by QuoteMstr · · Score: 2, Insightful

    Regarding the tracking pixel approach: H.L. Mencken once wrote, "there is always a well-known solution to every human problem -- neat, plausible, and wrong." I cannot think of a situation to which this sentiment better applies.

  6. Use microsoft == get screwed by 1s44c · · Score: 3, Insightful

    After about 30 years is this still news?

    Use Microsoft software and you get screwed. They don't design software they design the user interface and botch the software. They are now as always a marketing not an IT company. It's always been that way, it will always be that way.

    1. Re:Use microsoft == get screwed by Alex+Belits · · Score: 3, Informative

      Microsoft Research is not "people working for Microsoft", it's "people are paid by Microsoft not to work for Microsoft's competitors". Not a single meaningful Microsoft product or feature came from there.

      --
      Contrary to the popular belief, there indeed is no God.
    2. Re:Use microsoft == get screwed by shutdown+-p+now · · Score: 2, Insightful

      Microsoft Research is not "people working for Microsoft", it's "people are paid by Microsoft not to work for Microsoft's competitors". Not a single meaningful Microsoft product or feature came from there.

      Huge chunks of .NET came out of MSR - generics, LINQ, etc. F# came out of MSR. If I remember correctly, Surface came out of MSR.

      Truth is, a lot of stuff actually does come out of there, but it changes a fair bit when it's being "productized". It's certainly rare to get full products like that (F# is a notable exception), but specific features and ideas are often integrated into shipping products.

      On the other hand, I'm not sure what you mean by "not working for competitors". Is Haskell a competitor to Microsoft tech? I'd say so - it not a Microsoft-backed language, it portably runs on non-MS platforms (Linux, OS X), and a large number of people who use it tend to be affiliated with FLOSS. And yet, Simon Peyton Jones is one of the lead developers of Glasgow Haskell Compiler (GHC), and he's on MSR payroll.

  7. Source of URL by pgn674 · · Score: 3, Informative

    If anyone is quickly wondering exactly where he got the info to construct the request URL in his original post (like, how did he know about jftid, jfoid, and jfmid?), it looks like page 33 of the linked Integration Guide PDF gives the URL https://ssl.bing.com/cashback/javascripts/1x1tracking.js. That JavaScript file has info on constructing that URL.

  8. No by oGMo · · Score: 5, Insightful

    If you have a glaring vulnerability that lets people defraud your customers out of arbitrary amounts of money, the only sane thing to do is immediately disable the feature. Not wait for a solution. Not cover up the issue. You make coverage of the issue irrelevant. If one person figured it out and wrote about it, 100 other people also figured it out and are using it for personal gain.

    --

    Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

  9. Solution by QuoteMstr · · Score: 2, Interesting

    All Microsoft needed to do was include a Message Authentication Code (such as, say, HMAC-SHA1) in the tracking image URL. Microsoft and the merchant obviously already have a shared secret they can use for the purpose. Using a MAC would have been practically free.

    Given what Microsoft pays its programmers, I'm just appalled that nobody thought to include basic precautions in a brand-new interface written in this day and age. Whoever wrote the Bing API specification really should have known better.

    1. Re:Solution by mdenham · · Score: 2, Interesting

      Whoever wrote the Bing API was probably planning on exploiting it in exactly this fashion.

    2. Re:Solution by QuoteMstr · · Score: 2, Interesting

      A cleverer backdoor would have been a weak custom MAC (say, just the H(M) + secret). Then it'd still be exploitable, yet not obviously bad.

      This article goes into the reasons why HMACs are constructed the way they are, and about how naive constructions can be exploited.

    3. Re:Solution by QuoteMstr · · Score: 2, Informative

      Can you elaborate on that?

      Sure. A MAC actually can mean two things, depending on context: an algorithm or a value. I'm going to use "MAC" to mean the algorithm, and "authenticator" to refer to the output of the algorithm. YMMV.

      The MAC takes as input the message to be authenticated, M, and a key S. Let's say that M is information about the item to be purchased, and S is a password the merchant set up with Microsoft. Running the MAC on M and S produces A. The sender of the message sends both A and M to the recipient. In more concrete terms, the tracking pixel's URL includes both information about the purchased item (like it does now) and the output of the MAC algorithm.

      The recipient runs the MAC algorithm on the M' he receives (using the agreed-upon S), and compares its output, A' to the A it received along with the message. If A = A', M is authentic. If not, M is a forgery.

      A malicious user could alter the tracking pixel URL, sure, but because she doesn't know S, she can't generate an authenticator A that the server will accept. She can choose to either send A and M unaltered, or not send anything at all.

      One of the more popular MACs is called an HMAC, which stands for Hash MAC. Unsurprisingly, it's a MAC build out of a hash function. The Wikipedia article provides details about how an HMAC is actually constructed. It's important to use that construction, because simpler approaches to building MACs out of hash functions (like just concatenating S and M) are vulnerable to various attacks.

    4. Re:Solution by Rufus211 · · Score: 2, Informative

      It's pretty clear that whoever designed this API didn't even take an passing glance at the security or reliability implications. There are 2 ways (from the linked slides) for a merchant to report cashback activity to MS:

      1) Tracking pixel: this gives instant update to the user, but is completely insecure and also fairly unreliable (image fails to load, cross site https issues, random network hickup, etc).

      2) FTP upload of a plain text list: yes really, plain old FTP. This is at least reliable but is only authenticated by a plain-text user/pass. The list does not have any signature for authentication.

      I'm not a web guy at all (I'm an ASIC hardware guy) and off the top of my head I can think of 2 real solutions:

      The right way: SOAP. Gives instant update to the user, should be trivial in any backend web language, is reliable, is trivial to encrypt (https), is trivial to authenticate (a simple shared secret would be enough).

      A reasonable way: both of the existing ones. The tracking pixel is used to provide instant user update in 99% of the cases, but the transaction is marked pending. At the end of the day the text list is uploaded to the FTP. Compare the 2 lists, approving all that match and flagging for review any that don't (extra, missing, or different). As an added bonus a cryptographic signature should be added to the list.

      The problem with simply adding a MAC to the existing tracking pixel is that it doesn't fix the reliability issue. Also the advantage of the current tracking pixel is that it's stupidly easy to implement. If you're going to load in some libraries to do the MAC calculation on the server, you might as well load in a SOAP library and do the transaction properly.

      It really boggles the mind that a bogus transaction could actually be paid out. That indicates there is absolutely no auditing or rationalization between what the e-tailer thinks should be paid out and what MS thinks should be paid out. Even something as stupid as end-of-month totals should flag that there are bogus transactions.

  10. mirrored post by lkcl · · Score: 2, Informative

    http://lkcl.net/reports/bing.censorship.attempt - additional mirrors will be added as i find them.

  11. How is this a cheat? by Anonymous Coward · · Score: 2, Insightful

    This is no more a cheat than taking someone's money for a shell game and showing them afterwards how they were scammed.

    If he's said "by the way, I managed to get 20 grand off you by this" then he's not defrauded them. If he'd kept quiet THEN he'd have defrauded them.

    1. Re:How is this a cheat? by abigsmurf · · Score: 2, Informative

      Admitting a crime does not absolve you of it. In the first example, it's still technically a crime, it's just not worth anybodies time to report and prosecute it.

      This guy has been seriously stupid. Not only is it clearly fraud, he's also up for conspiracy to defraud charges for telling other people how to do this.

  12. It's called fraud by cookd · · Score: 5, Insightful

    This is called "fraud". Look it up. It's been around for a long time, a lot longer than HTTP. There are standard business practices for dealing with it. Not all of them are technical. This system's technical defenses are probably sufficient to raise an alarm (delayed by a few weeks as the results are collated), and it will produce a pretty good paper trail leading to the owner of the Bing account. Some of the systems take into account minor details such as the existence of accountants, a police force, a paper trail, and a legal system. Obviously some stronger technical measures might have made it a bit more difficult to pull off this partucular fraud, or maybe it might have even stopped it, but the non-technical measures will also work just fine if they are called into play.

    Whether or not the door is obviously guarded, it's still illegal to steal stuff from a store. The fact that the door was not protected with the latest and greatest in RFID theft detection systems doesn't change the fact that what you are doing is illegal. And perhaps the tracking process is slower than what you see in movies, people still get tracked down and arrested, days or weeks after the event. Moving from the streets onto the Internet doesn't really change the rules much (except that your case will probably wind up with Federal jurisdiction).

    In this case, the poor "hacker" (I wish him/her luck!) appears to have done the following:
    1. Used a specially formatted HTTP request to get a small fabricated purchase to show up as credited to his/her Bing account.
    2. Noticed that the cash back did show up with no problem as "available for withdrawal".
    3. Tried again with a much larger purchase. Again the purchase shows up in his account.
    4. Hacker is hoping that the amount will soon become available for withdrawal.

    On the other side of the world, the accounting systems for Microsoft and the associated merchant have likely compared invoices and noticed the discrepancies. The small ones got noted, but they were thrown out as "somebody is playing with the system, but it's not worth dealing with it". But this month, when going over the books, they're going to find a nice big 100,000 item that doesn't match up with any purchase recorded on the store's official records. However, they do have the account number of the buyer that should be getting the cash back. I'm not sure what typically happens at this point, but it probably involves cancelling dinner for the wolf pack so that by the time they're ready to send out the posse, the wolves are hungry.

    In this case, Microsoft has apparently (I haven't looked into this) provided an API by which a store can report a sale and attribute the sale to a particular Bing account. The API has varying levels of security, depending on how much effort the store wants to put into preventing fake transactions from entering the system. Low effort might be fine and takes less time to set up, but it's easier to attack and that means more work to do when reconciling the accounts. Just like many other mechanisms for quickly distributing non-critical information between merchants, this isn't meant to be the authoritative information transmission system, just a way for people to keep status on accounts in between the regularly-scheduled account reconciliations. This way Bing can update your account balance within seconds of the purchase. Of course, the payback won't happen until they've gone back and checked Microsoft's records against the merchant's records and pulled out any differences. The differences go to the auditor and possibly to the police or FBI.

    Could we maybe just think for a second before acting like jerks? Being a jerk means everybody suffers. I mean, just because I see a way to deface somebody's website doesn't mean I am obligated to do so. I walk by 100 cars a day, and I could easily spray shaving cream all over them and not get caught. But if everybody did that, quality of life would go down for everybody. Same thing on the internet.

    I hate this attitude out there th

    --
    Time flies like an arrow. Fruit flies like a banana.
    1. Re:It's called fraud by Culture20 · · Score: 3, Interesting

      In this case, the poor "hacker" (I wish him/her luck!) appears to have done the following: 1. Used a specially formatted HTTP request to get a small fabricated purchase to show up as credited to his/her Bing account. 2. Noticed that the cash back did show up with no problem as "available for withdrawal". 3. Tried again with a much larger purchase. Again the purchase shows up in his account. 4. Hacker is hoping that the amount will soon become available for withdrawal.

      5. Notified Microsoft about the issue?

      Meanwhile, MS allowed a system where someone could redirect money to *someone else's* account, even an innocent third party. Imagine walking out of a local jewelry store, and the gate drops around you, sirens blare... all because a pickpocket put jewels in your pants. Imagine that instead of all of the sirens and gates, the store owner could have implemented a less expensive alternative that would have completely prevented the thief from doing this. So, the jewelry store is paying more to harass its customers... the store owners must enjoy it.

  13. Hey Mercedes! by tjstork · · Score: 2, Insightful

    Your car has an exploit, so I stole it and drove it into a wall to prove a point.

    --
    This is my sig.
  14. MS Response by TheVelvetFlamebait · · Score: 2, Funny
    --
    You know, there is a difference between trolling and pointing out the flaws in your reasoning. Just saying.