Slashdot Mirror


Buffer Overflow Found in PSP Firmware v2.0

Doomstalk writes "PSP news site PSP Updates is reporting that a buffer overflow flaw has been found in PSP firmware v2.0's photo viewer. So far it's only been used to corrupt the menu display, but it holds great promise for running homebrew code on upgraded PSPs." From the article: "Thanks to the unknown author(s) for this great starting point to have homebrew on 2.0, all that is needed are coders to extend this knowledge for full homebrew usage on the v2.0 firmware. We cannot say when someone will step up to the plate and write the code for users to run homebrew on a 2.0 using this exploit, but we will definitely have our ears (and email boxes) open and be sure to let you know as soon as we do."

31 of 90 comments (clear)

  1. Exploit by EnderWigginsXenocide · · Score: 2, Interesting

    When will the first PSP worm/virus be out in the wild?

    --
    Blessed are the pessimists, for they have made backups. -- 0 1 My two bits
    1. Re:Exploit by GoRK · · Score: 2, Interesting

      Don't you mean as soon as it could run windows?

    2. Re:Exploit by Anonymous Coward · · Score: 4, Insightful

      There is no point in a PSP Virus, If any of them were mass-bricked, It would end up hurting nobody but sony in the long run because they would have no choice but to fix all the bricked psp's...

      I'm sure somebody could write somthing to brick a psp using the lua language...even just ruin somthing by possibly clocking up all 3 processors by insane amounts then make it do millions of simple commands over and over till it breaks... But the only way it would really spread would be way of the homebrew, and its not like wifi would spread it because nomatter what to recive somthing via wifi you must:

      1: Have the wlan switch on
      2: Have an active connection
      3: Accept this file

      Therefore any worm that would be released would proove useless...

      And if anybody is dumb enough to shop on their psp, well then they should have their identity stolen for not having anywhere near enough security!

      --PrimalTheory

  2. Maybe I haven't paid enough attention..... by bartkusa · · Score: 5, Funny

    ...but I don't think I've ever seen a buffer overflow being celebrated before.

    1. Re:Maybe I haven't paid enough attention..... by ikkonoishi · · Score: 4, Insightful

      Well you see when companies go to great lengths to piss off their most devoted customers. It becomes an event worthy of celebration when said customers manage to use the product in the way they wanted to when they paid for it.

    2. Re:Maybe I haven't paid enough attention..... by buffer-overflowed · · Score: 2, Funny

      Hey, lots of people like me you insensitive clod.

      --
      The key to the enjoyment of pop music is to replace any instance of "love" with "C.H.U.D."
    3. Re:Maybe I haven't paid enough attention..... by cpu_fusion · · Score: 2

      I think the rule of thumb is:

      DRM, it turns the bad into good, and the good into bad.

      DRM is kind of the "soviet russia" of technology.

    4. Re:Maybe I haven't paid enough attention..... by XXIstCenturyBoy · · Score: 3, Insightful

      Yeah... Did you read the forums posts on the so called "psp-dev" sites? People are asking when will the loaders enable them to load UMD images. Thats all they ask. Very little people actually code anything "homebrew" beside porting emulators (and even that is half assed most of the time).
      I'm sure Sony read those forums and it does play a big part in not letting people run unsigned code.

    5. Re:Maybe I haven't paid enough attention..... by JWhiton · · Score: 2, Insightful

      Now, I'm all for hacking your PSP into whatever you want it to be, but it's not like Sony's pulling a bait-and-switch. They wanted this thing to be a tightly controlled console that only ran their approved code, and it's been that way since day one. If you bought it with other intents in mind, then hey, have fun making it meet them, but it's not like you can claim that Sony misled you.

      I know this probably isn't what you meant, but it does carry that implication.

  3. Re:Good Link - More Cash for Content Holdings.Com by SeekerDarksteel · · Score: 2, Funny

    Aww....I think someone needs a friendly visit from our good friend Mr. Period!

    --
    The laws of probability forbid it!
  4. "the japs...."? by Anonymous Coward · · Score: 3, Insightful

    "...when the japs..."

    You lost me there. Try again with a little less insultingly ignorant speech next time.

    1. Re:"the japs...."? by APE992 · · Score: 2, Informative

      Looks like one of Wraggsters cronies has come to visit. Adblock his website and you'll be fine. Or better yet, don't visit any of the dcemu.co.uk ripoff site and visit a real page. Google will have some fine alternatives.

    2. Re:"the japs...."? by Haeleth · · Score: 3, Insightful
      How is that any more offensive than "...when the brits..." or "...when the aussies..." exactly?
      Stop being so politically correct, it's just an abbreviation, not a sly insult like "yank" or "kraut".


      Speaking as a Briton who does not appreciate people using the term "Brit", I would suggest that you would be well advised to accept that different people consider different things acceptable, and that when a large number of people consider a term offensive, it is polite to avoid it.

      A useful tool for finding out which words are considered offensive by a large number of people is a dictionary. How do English dictionaries describe "Jap"?
      American Heritage: "offensive slang"
      Collins: "often derogatory"
      Merriam-Webster: "usually disparaging"
      And what do the Japanese themselves think of it?
      Kenkyusha Eichuu: "zoku, keibetsu" (slang, contemptuous/derogatory)
      Sanseido EXCEED: "keibetsu" (contemptuous/derogatory)
      Hmm, there seems to be a common theme here. I propose to you that it might just be the case that this word is, in fact, not one that's suitable for use in situations where you don't want people to assume that you're ignorant, boorish, or even racist.
  5. why do people fawn over closed-source systems? by Myself · · Score: 5, Interesting

    Why throw your money at Sony, who does their best via DRM and everything to keep you out, when open platforms like the Tapwave Zodiac invite developers in?

    Of course, this "feed the hand that bites us" behavior among gamers has already forced the Zodiac off the market -- nobody was buying it.

    Ditto XBox! Why do geeks, who should oppose every shred of DRM and proprietarism that the green thing embodies, go out and buy the thing only to turn it into a set-top linux box? Hello? You're throwing money AT the evil empire.

    I understand there's a certain challenge to "owning" such a closed system. Fine, show Microsoft and Sony you're better than them. But at the end of the day, all this activity does is encourage MORE of exactly the wrong behavior on the megacorps' part.

    1. Re:why do people fawn over closed-source systems? by KillShill · · Score: 2, Interesting

      actually tapwave is just a kinder gentler sony.

      they still require signing but are more likely (relative to sony) to grant you "authorization" (don't you just like how in the modern world you need permission to access your own property?)

      so the tapwave isn't a good example.

      a good example would be something like the gamepark32 (and it's newer brother). there's no "signing" required or supported on the hardware.

      and may i say that " Why throw your money at Sony, who does their best via DRM and everything to keep you out" is an EXCELLENT idea.

      stop supporting DRM and Insidious Computing with your hard earned dollars (drachmas, lira or pesos etc.).

      starve them to death financially.

      they DON'T recognize any other type of protest.

      if i had my own country, i wouldn't let merchants lock customers out of their own property but then again, sane people never get into any positions of power. (lest they offend monied interests).

      --
      Science : Proprietary , Knowledge : Open Source
    2. Re:why do people fawn over closed-source systems? by AceJohnny · · Score: 2, Insightful

      (As a first side note, I think the GP2X is an interesting throw at an open handheld console.)

      That was cute, but you forget one major aspect of humanity in general and geeks in particular:

      We're lazy.

      And that means we don't uphold our principals 100% of the time. Sure, I'm against closed standards. What's that? A dirt-cheap linux box, with a small (for a PC) form-factor, and they're all identical? I'll take three!
      What? Microsoft? Bah, you know they actually LOSE money on the X-Box hardware, don't you?

      That said, you could hope the geek masses are more educated than the rest of the tarket market for consoles. Even so, we're a minuscule fraction of the effective market.
      You should have realized, by now, that the mass-market actually doesn't care about DRM! As long as they can play Dead Or Alive 5 they just bought on their latest consoles, they're happy.

      And finally, sadly, if a console is open, you can bet that the openness will be used 95% of the time to play pirated games, not homebrew ones. Quite simply because commercial games are of much higher quality than any homebrews! Why is that? see my first point...

      --
      Misleading titles? Inflammatory blurbs? Keep in mind that Slashdot is a tabloid.
  6. The Real Emulation Console is Coming by Anonymous Coward · · Score: 5, Informative

    The PSP and this rather lame exploit which only lets you run up to 64kb which to those who dont know isnt enough to run 99% of homebrew and emulators, yes it creates news but its not going anywhere, thank god the new Portable Linux Console that embraces Open Source Coding has arrived, Emulation and Homebrew with out stupid little exploits, yes im talking about the GP2X http://www.gbax.com/main.pl Once it arrives we can say hello to the future of amatuer coding.

    1. Re:The Real Emulation Console is Coming by cowscows · · Score: 4, Funny

      Languages are for communicating. Languages have rules. Rules make it understandable. Some rules involve punctuation. Some times you want to denote the end of one phrase. Then you start the next one. There's a piece of punctuation for this. Yes, I'm talking about the period.

      .

      I hate to pick on someone for their grammar, but there's a difference between having bad grammar and being so incredibly lazy with your writing that a reader has to go over it five times to understand what you're trying to say.

      --

      One time I threw a brick at a duck.

  7. Don't get overexcited by quaker5567 · · Score: 4, Informative

    So far only binaries smaller than 64KB can be run and only in user mode not kernel mode. NO ACCESS TO KERNEL NO DIRECT ACCESS TO FIRMWARE Still a long way to go before a full exploit.

    1. Re:Don't get overexcited by quaker5567 · · Score: 3, Insightful

      If it were that easy, all the 2.00 owners would be playing mario right now ;)

      Code in user mode can't demand that the kernel do anything. It can ask and see what happens. The kernel will decide itself what it wants to do. There's no direct access to the firmware, thread/process manager etc. from user mode.

  8. democracy by chigun · · Score: 2, Insightful

    I do not agree with funding evil empires such as Sony by purchasing their items and then "cracking" them. Sony will just keep forcing more firmware, and you the faithful consumer, will continue cracking it. In the meantime, you're purchasing new duo sticks, umd vids, and games. Sony has tricked you into becoming a loyal customer by dangling the golden carrot that is their "unbreakable" firmware.

    I'll vote with my dollars and not purchase one at all. The GP2X intrigues me though, even though there is some claim that it will be DRM enabled, I believe that to be just an assurance that it will have the capability of playing shitty DRM files (not that I'd have any anyway).

    --
    swanker than you
    1. Re:democracy by All_Star25 · · Score: 2, Informative

      http://www.gbax.com/drmgp2x.html details the DRM in the GP2X. And plus, I'd imagine it somewhat tricky to implement on a Linux-based platform.

    2. Re:democracy by chigun · · Score: 2, Insightful

      Say they lose 100 dollars per PSP purchase for hardware. As opposed to 300 (do the PSPs cost 2 hundo?) if one potential consumer didn't buy one at all. I'd say 300 is a lot more than 100 any day. They don't profit either way, but one significantly reduces their loss-per-unit if one takes the plunge down their rabbit hole.

      --
      swanker than you
  9. Buffer Overflow Exploited More by cyanidenfs · · Score: 2, Informative

    check it on pspupdates.com a hello world program is out for 2.0 psps... not much time before homebrew makes its way to 2.0 psps...

  10. 1.5 Owner by fwitness · · Score: 2, Insightful

    Thankfully, there are no games out that force a 2.0 upgrade that I want. I shiver as a gamer saying that. The battle may soon be won over 2.0, but the war will inevitably be won buy Sony when 2.1 is released to fix this. Games will require it, and if you want to play games, you will have to play *their* game of firmware upgrades. It's silly, stupid, and I hate it. I still have the DS, but Sony, please, please, just let us run our homebrew apps. It's a better world if we all get along. Go after the pirates aggressively, fine. But leave us that just want to run a file-transfer program and ScummVM alone. I love your product, please stop fugging with it.

    --
    -- I have fans? Wow.
    1. Re:1.5 Owner by Elite+Xizer · · Score: 4, Informative

      Have you guys not heard of the Firmware changer? There will be no need to upgrade from 1.50 to 2.00 when GTA: LCS arrives. Just run this program and it will let you play it on a 1.5 PSP

    2. Re:1.5 Owner by grumbel · · Score: 2, Interesting

      ### but Sony, please, please, just let us run our homebrew apps.

      ACK, especially since the piracy argument is pretty much void, I mean a 1GB memory stick costs around 100EUR, I can get two original games for that price and it might not even enough to hold a single complete game. So to make it work you either need to limit yourself to those games that don't use much diskspace or cutout the cutscenes and other space consuming stuff. So piracy might still be there, but its really far less attractive then say for the PS1 where a 20cent CDR will do for a complete game, so I can hardly see how it should be a big problem on the larger scale.

  11. Because at least I don't give a bleepin' damn by Moraelin · · Score: 4, Insightful

    Frankly, I own a gaming console, you know, for gaming. You may notice a highlighted word there. Hint, it's: gaming.

    I do not buy it to make some political statement about open vs closed software. I buy it to play games on it. If Sony has the games I want to play, and some hypothetical vendor has this super-open GPL-conform Stallman-approved ESR-blessed platform without many games, you can guess whose I'll buy. Hint: it starts with "So" and ends with "ny".

    The whole "feeding the hand that bites us" metaphor is emotional and all, but I don't feel bitten at all so far. I gave them some money, I got some games I wanted in return. If anything, I'm "feeding them" to get more games like those in the future. But more pragmatically, I'm not "feeding" anyone. I'm just acting in my own interest as a consumer, and buying the one that's the better product for me right now.

    And if DRM is what it takes to get those games, fine by me. I can still plug the cartridge or UMD in and play the game, right? Well then why should I care what technologies went into that UMD or the loader in the BIOS?

    You assume too much that all geeks are like this or that, all are on a zealot crusade against the very idea of commercial software, and all bought an XBox or a PSP just to run Linux on it. Which is just false. I for example am a terminal geek all right, but I bought my XBox to actually run XBox games like Fable or Jade Empire. Even those two alone make it well worth every cent MS got from me. I know only two people who've modded their XBox and that was to add some multimedia functionality and IIRC a bigger hard drive, not to run Linux on it.

    Basically rest assured that when you read news about someone's uber-l33t port of Linux to some game console, you're really reading about a small minority that gives a damn at all, and mostly just to show that they can do it. It's the geek equivalent of showing that you can tear a phonebook with your bare hands: it's not actually _needed_ (there are easier ways to destroy a phonebook), it's not what everyone buys a phonebook for, and it doesn't make it a better phonebook than it was before being torn. It's just a way to show off. Unlike tearing a phone book with your bare hands, though, pretty much noone else gives a damn about it.

    Now lot more people will care about it if it lets them pirate UMD games and play them off the memory card. (That was the main reason people modded their PS1, PS2 and XBox, btw: to be able to play pirated games.) But even then we're talking freeloaders, not people on a holy jihad for the glory of OSS. Rest assured that _all_ they wanted was to let someone else (e.g., the rest of us paying customers whose money keeps those devs in business) pay the tab for their gaming, not to make some "free as in speech" political point.

    --
    A polar bear is a cartesian bear after a coordinate transform.
  12. Actuallly, I don't feel tricked at all by Moraelin · · Score: 2, Insightful

    As I was saying before, I bought it to play games on it. Sony didn't have to "trick" me into anything. They just had to have the games I want to play. That's all.

    Yeah, if all you wanted from a portable console was to run some old emulator on it, the PSP might not be the one for you. But then you know what? Go buy whatever console lets you run those, and quit whining already. Does the GP2X let you run those? Well, good for you, then. Get one of those, then, and give it a rest already.

    No, seriously. It's not like we don't already have enough Nintendo fanboys ranting and raving about how the PSP is T3H 3V1L!!!111, stiffles innovation, makes God kill small kittens, etc, and how about all of us who bought one are some servants of the Antichrist. I don't need yet another group telling me that I'm some kind of a tricked victim, just because I wanted to play Lumines, Mercury and the racing games.

    Get this: most of us actually knew very well what we were buying. There was no trick, there was no broken promise, nothing of the kind. Sony didn't dangle the carrot of "but you'll be able to run a NES emulator on it" in front of us at any point. They only said there'll be games and UMD movies for it. That's all. And I fail to see how buying one for those counts as being "tricked". Did any of Sony's patches make it no longer play UMD games or movies, or what? Well, wake me up if they ever do that, because only then it will count as being "tricked".

    And generally, WTF? I thought we were in the "Games" section, not in the "let's whine about proprietary stuff" section. Did this story get posted in the Linux section too, or what?

    --
    A polar bear is a cartesian bear after a coordinate transform.
  13. Re:Not all homebrew sucks by KDR_11k · · Score: 2, Insightful

    That's all fine and dandy except that falls within the 5% (and I think that's highly generous) of homebrew users. Most people will just download isos from some 0-day warez site and play them on their system, completely ignoring all the homebrew software out there. And the few people enjoying homebrew don't make up for the much larger number of people warezing commercial games. Sure, the PSP didn't run pirated PSP games yet AFAIK but it runs emulated games, some of which (GBA, for example) are still being made and sold so "it's abandonware, noone cares" isn't a valid argument.

    Sony probably doesn't care about people playing illegal roms but they know that it competes with their licensees and makes the platform less attractive to potential developers. And less licensees == less profit.

    --
    Justice is the sheep getting arrested while an impartial judge declares the vote void.
  14. Re:Good Link - More Cash for Content Holdings.Com by Jakeypants · · Score: 2, Funny

    "Theres another exploit here and thats the commercial exploit of the Homebrew scene by Content Holdings.com who brought the PSPhacker domain and when the japs released the hello world and early releases they repackaged the releases as their own and add to that the 3 dollars a month to remove ads that "premium" members pay and also the free psp (and we know thats a scam) site they have and not to mention the fact that if a release is on a site they consider a rival they either say they were emailed the release or another lie."

    What?