| amix | shares | Plurk XSS hacking challenge: hack Plurk, get a hacker badge and +5 in karma ( reports should be private and sent to amix@amix.dk ) |
| amix | common XSS techniques used can be found on: ha.ckers.org/xss.html |
| N H Y |
| amix | a tip: generally, i think most XSS issues should be solved - so you must be pretty creative |
| memil ツ | aw, should've learned some black hat hacking stuff, I like badges :/ |
| @Kent | will | patiently wait for that fix ^_^ |
| @Kent | If you've got a standard issue XSS protection toolkit in place, we're probably screwed unless we know of an edge case in that library |
| amix | kentfredric: we have a XSS lib in place, but i don't think we are XSS free yet... |
| amix | earlier today we found an issue on www.plurk.com/search |
| @Kent | wonders | if python has perl-style "taint" support |
| Schwarz | says | perls 'taint' is a really bad hack that downgrades performance heavily |
| Schwarz | says | It doesn't even provide any guarantees |
| alvin | says |
| Schwarz | says | I hope no other system ever implements something like that... |
| @Kent | it doesn't produces any guarantees, no, but it at least makes detecting sanitized throughput possible. |
| Schwarz | says | no, it doesn't really. In many cases unsanitized output will show up sanitized |
| Schwarz | says | For example the reg exp support is completely unsafe |
| Schwarz | says | And that is pretty much what you do all the time in perl |
| @Kent | last I checked regex doesn't mark tainted stuff as untainted. |
| Schwarz | says | It will only give you false confidence... |
| Schwarz | says | Things pulled out of a reg exp is maked untained |
| Schwarz | says | And that is the way tainted data should be converted to untainted |
| @Kent | ah, so it does. Thats pesky. |
| @Kent | its just too easy to use "*" as an expression part to make it unsafe |
| Schwarz | says | yes |
| Schwarz | says | and to my knowledge that is typically how perl programs are vulnerable to XSS... |
| @Kent | wants | to request a mode where regexing doesn't auto untaint things. |
| amix | thinks | doing XSS checks is unfortunately really hard - especially since a lot of attacks are fueled by browser bugs |
| @Kent | true true, the best way to check it automatically would be something that can emulate browser bugs and detect the safeness of them. |
| @Kent | but that's a real mission |
| @Kent | thinks | testing for XSS safeness should be unit-testable |
| amix | kentfredric: i don't think there's an automated tool that can guarantee 100% security |
| @Kent | use Test::XSS ; is_safe( $str , Test::XSS::Attack_Family ) or something would be cool. |
| @Kent | yeah, but it would be nice if there were some sort of intelligent library that could exist and people could just use for testing |
| amix | and even some of the biggest web applications (like Gmail) has/have had XSS issues |
| tveon | is | quite certain such a guarantee is beyond decidability... |
| @Kent | then when a new exploit style was detected it could be integrated into the library, people could update, and the world would be safer |
| @Kent | notes that the "sprintf" c-family of vulnerabilities eventually have died out |
| Schwarz | says | But it is easy to define a simple type system with a taint and an untaint type |
| Schwarz | says | You could combine that with a language engine for reg exps and have something relatively precise |
| Schwarz | says | You don't need something that complicated, since you only have 2 modes |
| Schwarz | says | And basically you can only go one way, namely tainted -> untainted |
| Schwarz | says | The complicated part would be to define the tranfer functions for regular expressions |
| Schwarz | says | Which are really only regular by name in Perl |
| Schwarz | says | Those transfer functions would depend on the output language you want to avoid xss in... |
| amix | especially since you need to guarantee security over large number of browsers and both in JS, HTML and CSS |
| amix | i mean, stuff like this `¼script¾alert(¢XSS¢)¼/script¾` is an XSS injection |
| Schwarz | says | yes, but that means you need to have a clear definition of what XSS is |
| Schwarz | says | You need that no matter what solution you try to create... |
| Schwarz | says | I am not saying that the solution I cooked up is a perfect one but it is light years better that the hacky perl feature... |
| Xugu Madison | wonders | if we're restricted to XSS only? |
| Xugu Madison | So far worst I've found is the error message for an unknown qualifier has a stray 'u': Unknown qualifier u'weeble' |
| @Kent | www.plurk.com/p/mrva5 # this is not an exploit, but its a possible evidence of a weak point. Could be possibly abused by somebody. |
| Schwarz | says | It is in no way evidence of a weak point |
| Schwarz | says | xml output generation is tricky but the only think invalid HTML can cause is the browsers to render it wrongly |
| @Kent | its hard to differentiate between coder forgetfulness, and a sanitizer/stripper process going wrong and misbehaving. |
| @Kent | I've seen bad sanitizers break and insert stuff or over-cut data in ways that could have created attack vectors before. |
| GhettoWebmaster | wants | to trade his Plus 5 in Karma for a Bag of Holding. |
| R.K. | What's to stop the hacker from just owning Plurk? |
| amix | thanks for reporting that issue GhettoWebmaster, we'll give you +5 karma and a hacker badge later tonight. good job |
| bunneh | says | awesome. meanwhile over at twitter i see that they are having some XSS troubles |
| Schwarz | says | hmm, maybe I should try and get the hacker badge too |
| Schwarz | says | That is very hard to do indeed |
| Schwarz | says | but considering the input complexity of plurk there has been an impressively small amount of problems |
| GhettoWebmaster | thinks | the "impressively small amount of problems" is directly related to current market share / traffic. |
| GhettoWebmaster | also thinks that Plurk is being smat about taking care of issues before they get too big. Huge traffic + XSS = huge issues / bad PR. |
| GhettoWebmaster | smat = smart |
| GhettoWebmaster | "don't think we have solved all our XSS issues yet" I doubt that most sites have. That's a very tall order to fill. |
| Mr.Love | says | that was pretty cool! |
| nign | I'm just relaying a message here: A pro hacker friend says that the reward is too unalluring & he prefers U$500 to +5 karma points. |
| nign | I don't think any of my friends who do system security stuff would spend the time it takes for 5 karma points. |
| nign | S/he could probably use that equal amount of time or less on plurking and earn 5 karma points. |
| tveon | says | besides - the challenge got the Plurk community involved in protecting what we love |
| nign | The service of guy who's saying $500 instead of 5+ karma usually costs much more. It's like a 90% discount & costs nothing if it's not done. |
| amix | and if you look around and see great hackers/coders you'll see that they aren't motivated by money |
| amix | that's why you see that most of the development stack currently used is open source and Free |
| amix | so no, this wasn't really targeted at your money-making friend, but hackers that get a kick out of finding security exploits |
| @Kent | me doesn't really care for money apart from "Do I have enough to cover my expenses and do things fun occasionally", once those are covered |
| @Kent | anything is hackable ( context of hacker =~ person who 'hacks' code , not "cracker" ) |
| amix | armorize_wayne: great, thank you |
| Minda | armorize_wayne: Please don't attack plurk!! Your employee sunwhite is attacking everyone!!!!!! |
| c J e i | says | is this still on going? |
| c J e i | says | oh well thanx. does one xss will do for the badge? |
| amix | cJei: yes it will, just send it off to amix@amix.dk |
| c J e i | says | sure |
| Renzo | says | can't inderstand. how? |
| Renzo | says | undertsand* |
| c J e i | wants | to trade it for the badge and karma |
| amix | allenown: i am afraid i haven't received your latest report. could you re-send it to amix@amix.dk thanks |
| bensonwu | is | Hi amix, I just found and sent you another 1 last night |
| amix | armorize_wayne: thank you |
| don-don♥c: | says | how? |
| Mr.Love |
| Mia2os | says | tell me how to do it |
| Leio Dungo | says | how do you do this? |
| 推噗通知 | says | [Trackback] 08tsu08basa08 在 這邊 引用到 |
| CCN | Hi amix, I sent you an email about xss. |
| Sunny,이순규 | lol. help me karma |
| † akuma † | is | me too.. |
| 丹尼爾 | Does this really help? |
| † akuma † | can u give me a step by step instruction? |
| Leio Dungo | says | no response from this plurk post |
| ☯ゆうき☯™ | says | can someone teach step by step??? |
| ekabrln | says | I don't understand |
| † akuma † | where can i learn that? |
| Leio Dungo | says | tveon: I see |
| † akuma † | can i find a link where i could learn that? |
| Mr.Love |
| † akuma † |
| ae86fan | didn't understand |
| † akuma † | me too |
| Mr.Love |
| tveon | says | please read the first responses... |
| ÐЯЄШ♥ХТІИЄ | how to use it pls? |
| L ™ | how to use it? |
| phil ツ | wonders | how to use it??? |
| shinnryuuga | needs | need badges |
| My heart. :) | badgesss! |
| Leio Dungo | badges |
| ❤ NEELIE ! | says | can i have the badge ? |
| tintinbernardo | how to have a plurk hacker badge? |
| nisababy | asks | how to get plurk hacker's badge ? |
| sayswho? | says | Dang, it's driving me crazy. |
| BiZzY_SkYe.28 | says | me too.. i want that +5 karma wew?? |
| Juice | says | how? i wanna know how! |
| || dReL || | says | amix how can i do that hack badge? |
| ERNN CABURN | Amix i found 1. Is the hacker badge still good? sent u screenshots too |
| || dReL || | says | amix: how? |
| ERNN CABURN | says | Hack mo lang plurk. |
| || dReL || | says | ernndevoe: in what way? |
| ERNN CABURN | says | google xss |
| || dReL || | says | xss?? then? |
| ERNN CABURN | says | zzz |
| || dReL || | says | ernndevoe: huh? |
| PaPa T | can u pls teach me? |
| Ody Christian | says | Great |
| vhin_07 | how can i get badge.? |
| The_Rev | says | help me |
| vhin_07 | says | pano hack.? |
| ngikngok37 | want to get badge |
| ngikngok37 | want to get badge |
| xhiohara | i just found a bug where should i post it? |
| xhiohara | says | need help i can't send it :[ |
| Pitze' | how can i get badge.? i want it. |
| xhiohara | says | i already sent it how can i get my badge? |
| xhiohara | i can't send the security bugs there's always an error |
| ERNN CABURN | email amix the script or email him a screenshot |
| baabii | www.plurk.com/bobster_0153# |
| Eedeh | wishes | I had a hacker badge, but it just wont happen. |
| нужное_вписать |
| Jhan31 | says |
| Jhan31 | says |
| Jhan31 | says | i lost my replies here |
| Jhan31 | says | plurk.com/JhanGrimmie |
| Jhan31 | says | twitter.com/DomoJhanKun31 |
| Jhan31 | says | please follow. i'm begging ! |
| aandreasts | wishes | wants to get badges |
© copyright 2007-2012 Plurk Search People Search Verified Account APIFAQ
Contact Us About Blog Jobs Terms Privacy
