amix shares
15 years ago
Plurk XSS hacking challenge: hack Plurk, get a hacker badge and +5 in karma ( reports should be private and sent to [email protected] )
Only plurker's friends can respond
latest #194
amix
15 years ago
common XSS techniques used can be found on: ha.ckers.org/xss.html
N H Y
15 years ago
B-)cool 8-)
amix
15 years ago
a tip: generally, i think most XSS issues should be solved - so you must be pretty creative
立即下載
memil ツ
15 years ago
aw, should've learned some black hat hacking stuff, I like badges :/
@Kent wonders
15 years ago
if his nickname counts or not, but doesn't think it does. amixkent, amix@amixkent #weird things.
@Kent will
15 years ago
patiently wait for that fix ^_^
@Kent
15 years ago
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
15 years ago
kentfredric: we have a XSS lib in place, but i don't think we are XSS free yet...
amix
15 years ago
earlier today we found an issue on www.plurk.com/search
@Kent wonders
15 years ago
if python has perl-style "taint" support
Schwarz says
15 years ago
perls 'taint' is a really bad hack that downgrades performance heavily
Schwarz says
15 years ago
It doesn't even provide any guarantees
alvin says
15 years ago
(gym)
Schwarz says
15 years ago
I hope no other system ever implements something like that...
@Kent
15 years ago
it doesn't produces any guarantees, no, but it at least makes detecting sanitized throughput possible.
Schwarz says
15 years ago
no, it doesn't really. In many cases unsanitized output will show up sanitized
Schwarz says
15 years ago
For example the reg exp support is completely unsafe
Schwarz says
15 years ago
And that is pretty much what you do all the time in perl
@Kent
15 years ago
last I checked regex doesn't mark tainted stuff as untainted.
Schwarz says
15 years ago
It will only give you false confidence...
Schwarz says
15 years ago
Things pulled out of a reg exp is maked untained
Schwarz says
15 years ago
And that is the way tainted data should be converted to untainted
@Kent
15 years ago
ah, so it does. Thats pesky.
@Kent
15 years ago
its just too easy to use "*" as an expression part to make it unsafe
Schwarz says
15 years ago
yes
Schwarz says
15 years ago
and to my knowledge that is typically how perl programs are vulnerable to XSS...
@Kent wants
15 years ago
to request a mode where regexing doesn't auto untaint things.
amix thinks
15 years ago
doing XSS checks is unfortunately really hard - especially since a lot of attacks are fueled by browser bugs
@Kent
15 years ago
true true, the best way to check it automatically would be something that can emulate browser bugs and detect the safeness of them.
@Kent
15 years ago
but that's a real mission
@Kent thinks
15 years ago
testing for XSS safeness should be unit-testable
amix
15 years ago
kentfredric: i don't think there's an automated tool that can guarantee 100% security
@Kent
15 years ago
use Test::XSS ; is_safe( $str , Test::XSS::Attack_Family ) or something would be cool.
@Kent
15 years ago
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
15 years ago
and even some of the biggest web applications (like Gmail) has/have had XSS issues
tveon is
15 years ago
quite certain such a guarantee is beyond decidability...
@Kent
15 years ago
then when a new exploit style was detected it could be integrated into the library, people could update, and the world would be safer
Schwarz says
15 years ago
tveon: Any interesting property is
@Kent
15 years ago
notes that the "sprintf" c-family of vulnerabilities eventually have died out
Schwarz says
15 years ago
But it is easy to define a simple type system with a taint and an untaint type
Schwarz says
15 years ago
You could combine that with a language engine for reg exps and have something relatively precise
tveon says
15 years ago
schwarz: Popularly speaking, yes. I still remember most of what I learned in Software Verification - including CQual... 8-)
Schwarz says
15 years ago
Kent: The bottom line is that you do not want to check for an unlimited number of things on rumtime
Schwarz says
15 years ago
You don't need something that complicated, since you only have 2 modes
Schwarz says
15 years ago
And basically you can only go one way, namely tainted -> untainted
Schwarz says
15 years ago
The complicated part would be to define the tranfer functions for regular expressions
Schwarz says
15 years ago
Which are really only regular by name in Perl
amix
15 years ago
schwarz: i think the base case are simple, but it can quickly become very complicated
Schwarz says
15 years ago
Those transfer functions would depend on the output language you want to avoid xss in...
amix
15 years ago
especially since you need to guarantee security over large number of browsers and both in JS, HTML and CSS
amix
15 years ago
i mean, stuff like this `¼script¾alert(¢XSS¢)¼/script¾` is an XSS injection
Schwarz says
15 years ago
yes, but that means you need to have a clear definition of what XSS is
Schwarz says
15 years ago
You need that no matter what solution you try to create...
Schwarz says
15 years ago
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...
amix
15 years ago
rnicoll: other vulnerabilities are welcomed as well :-)
@Kent
15 years ago
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
15 years ago
It is in no way evidence of a weak point
Schwarz says
15 years ago
xml output generation is tricky but the only think invalid HTML can cause is the browsers to render it wrongly
@Kent
15 years ago
its hard to differentiate between coder forgetfulness, and a sanitizer/stripper process going wrong and misbehaving.
@Kent
15 years ago
I've seen bad sanitizers break and insert stuff or over-cut data in ways that could have created attack vectors before.
GhettoWebmaster wants
15 years ago
to trade his Plus 5 in Karma for a Bag of Holding. :-P
R.K.
15 years ago
What's to stop the hacker from just owning Plurk?
amix
15 years ago
thanks for reporting that issue GhettoWebmaster, we'll give you +5 karma and a hacker badge later tonight. good job
bunneh says
15 years ago
awesome. meanwhile over at twitter i see that they are having some XSS troubles :-P
Schwarz says
15 years ago
hmm, maybe I should try and get the hacker badge too
amix
15 years ago
schwarz: you are very welcome to do so, i don't think we have solved all our XSS issues yet
Schwarz says
15 years ago
That is very hard to do indeed
Schwarz says
15 years ago
but considering the input complexity of plurk there has been an impressively small amount of problems
GhettoWebmaster thinks
15 years ago
the "impressively small amount of problems" is directly related to current market share / traffic.
GhettoWebmaster
15 years ago
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
15 years ago
smat = smart
GhettoWebmaster
15 years ago
"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
15 years ago
that was pretty cool! B-)
nign
15 years ago
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
15 years ago
I don't think any of my friends who do system security stuff would spend the time it takes for 5 karma points.
nign
15 years ago
S/he could probably use that equal amount of time or less on plurking and earn 5 karma points.
tveon says
15 years ago
nign plurking is not really a fulltime occupation... ;-)
tveon says
15 years ago
besides - the challenge got the Plurk community involved in protecting what we love :-)
nign
15 years ago
tveon Yet, but the quality of feedback you get also depends on how much you seem to value or want that feedback. Quality HR is rarely free.
nign
15 years ago
tveon Frankly, Plurk is too young for its users to be passionately in love with it. Uncomfortable truth of the day? Um.
nign
15 years ago
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
15 years ago
nign: not everything should be done for $$$ - there's also a thing called respect, that's probably more worth than money
amix
15 years ago
and if you look around and see great hackers/coders you'll see that they aren't motivated by money
amix
15 years ago
that's why you see that most of the development stack currently used is open source and Free
amix
15 years ago
so no, this wasn't really targeted at your money-making friend, but hackers that get a kick out of finding security exploits
@Kent
15 years ago
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
15 years ago
anything is hackable ( context of hacker =~ person who 'hacks' code , not "cracker" )
Wayne says
15 years ago
amix check ur mail I gave another CSRF
amix
15 years ago
armorize_wayne: great, thank you
Allen Own says
15 years ago
amix, sunwhite is attacking plurk. Please check it. Besides, I've mailed some other vulnerabilities and suggestions to you.
Minda
15 years ago
armorize_wayne: Please don't attack plurk!! Your employee sunwhite is attacking everyone!!!!!!
amix
15 years ago
allenown: thanks for the notification. we have banned sunwhite
PogiProblems says
14 years ago
is this still on going? :-D
amix
14 years ago
cJei: yes it is :-))
PogiProblems says
14 years ago
oh well thanx. does one xss will do for the badge? :-D
amix
14 years ago
cJei: yes it will, just send it off to [email protected] :-)
PogiProblems says
14 years ago
sure :-))
Renzo says
14 years ago
can't inderstand. how?
Renzo says
14 years ago
undertsand*
PogiProblems says
14 years ago
amix: i just sent 1 :-D
PogiProblems says
14 years ago
amix: i just sent 1 :-D
amix says
14 years ago
cJei: received, thank you for the notification
Allen Own
14 years ago
amix : I've mailed another vulnerability these days. ;-) Don't forget to check your mailbox :-)
PogiProblems wants
14 years ago
to trade it for the badge and karma :-))
PogiProblems says
14 years ago
amix: np :-)
PogiProblems asks
14 years ago
amix: can't i have the badge? :-))
amix
14 years ago
allenown: i am afraid i haven't received your latest report. could you re-send it to [email protected] thanks
amix
14 years ago
cJei: your xss is fixed (will be deployed during today/tomorrow) and you have hacker badge :-))
PogiProblems says
14 years ago
amix: thanx! :-)) ill be checking for other vulnerabilities too ;-) all other xss that i found was already filtered good job :-))
Allen Own
14 years ago
amix: I re-sent it. :-)
amix
14 years ago
allenown: thanks, i'll review it during tomorrow
walterman says
14 years ago
Hi amix, I sent you an email about some additional xss
amix
14 years ago
walterman: thank you, i'll review it and some other reports during today/tomorrow
walterman says
14 years ago
thanks amix!
bensonwu is
14 years ago
Hi amix, I just found and sent you another 1 last night :-)
Wayne says
14 years ago
Hi amix, I sent you a private plurk
Wayne says
14 years ago
Hi amix, another private plurk, please check thx
amix
14 years ago
armorize_wayne: thank you :-))
推噗通知 says
14 years ago
[Trackback] SamShane這邊 引用到
don-don♥c: says
14 years ago
how?
Mr. Love
14 years ago
:-D
Mia2os says
14 years ago
tell me how to do it :-))
Leio Dungo says
14 years ago
how do you do this?
推噗通知 says
14 years ago
[Trackback] 08tsu08basa08這邊 引用到
CCN
14 years ago
Hi amix, I sent you an email about xss.
amix
14 years ago
c1n: thanks, will take a look at it :-)
Allen Own
14 years ago
amix: Hello, me again. I mailed another xss issue to you. :-)
Sunny,이순규
14 years ago
lol. help me karma
† akuma † is
14 years ago
me too..
丹尼爾
14 years ago
Does this really help?
† akuma †
14 years ago
can u give me a step by step instruction?
Leio Dungo says
14 years ago
no response from this plurk post
☯ゆうき☯™ says
14 years ago
can someone teach step by step???
tveon
14 years ago
sorayuki, xern: No. If you're not experienced with IT security, this is not for you.
you dont say says
14 years ago
I don't understand (annoyed)
† akuma †
14 years ago
where can i learn that?
tveon says
14 years ago
xern try a technical college or similar...
Leio Dungo says
14 years ago
tveon: I see
† akuma †
14 years ago
can i find a link where i could learn that?
Mr. Love
14 years ago
(sleeping)
† akuma †
14 years ago
:-(
† akuma †
14 years ago
me too
Mr. Love
14 years ago
(Русский)
tveon says
14 years ago
please read the first responses...
MASTER.
14 years ago
how to use it pls? :-D
L ™
14 years ago
how to use it?
phil ツ wonders
14 years ago
how to use it??? (thinking) (worship)
shinnryuuga needs
14 years ago
need badges
jmlslvdr
14 years ago
badgesss!:-D
Leio Dungo
14 years ago
badges
❤ NEELIE ! says
14 years ago
can i have the badge ?
tintinbernardo
14 years ago
how to have a plurk hacker badge?
txtdaribayi asks
14 years ago
how to get plurk hacker's badge ?
BiZzY_SkYe.28 says
14 years ago
me too.. i want that +5 karma wew??
|| dReL || says
14 years ago
amix how can i do that hack badge? (thinking)
ERNN CABURN
14 years ago
Amix i found 1. Is the hacker badge still good? sent u screenshots too :-D
amix
14 years ago
ernndevoe: great find! :-))
|| dReL || says
14 years ago
amix: how?
ERNN CABURN says
14 years ago
Hack mo lang plurk.
|| dReL || says
14 years ago
ernndevoe: in what way?
ERNN CABURN says
14 years ago
google xss
|| dReL || says
14 years ago
xss?? then?
ERNN CABURN says
14 years ago
zzz
|| dReL || says
14 years ago
ernndevoe: huh?
PaPa T
14 years ago
can u pls teach me?
Ody Christian says
14 years ago
Great (dance)
vhin_07
13 years ago
how can i get badge.?
The_Rev says
13 years ago
help me
vhin_07 says
13 years ago
pano hack.?
oldiak
13 years ago
want to get badge
oldiak
13 years ago
want to get badge
Pitze'
13 years ago
how can i get badge.? i want it.
ERNN CABURN
13 years ago
email amix the script or email him a screenshot
Eedeh wishes
13 years ago
I had a hacker badge, but it just wont happen.
aandreasts wishes
12 years ago
wants to get badges
back to top