Stories
Slash Boxes
Comments

SoylentNews is people

Submission Preview

Link to Story

Never trust user input - How ebay tries to prevent scripting exploits and fails

Accepted submission by quadrox at 2016-03-01 07:23:27
Security

What damage can you do with javascript if your script is not allowed to contain alphanumeric characters? "Not much" is what Ebay must have thought when they decided that scrubbing alphanumeric characters between script tags was good enough to prevent exploits.

As it turns out the weak typing in javascript combined with creative abuse of the textual representation of certain values allows you to do quite a lot [checkpoint.com]. Welcome to JsF*ck.


Original Submission