Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Help on Prototype Pollution

Hi there. I'm trying to hack into a machine and I have found a way in, but I need a prototype pollution vulnerability to make it happen and there is no crappy merge in there :/

Is there any way I can pollute a new property into Object.prototype just by a new variable assignment? Somewhere like this:

let newVar = JSON.parse(getJSONResponse(url))

Where we can assume that getJSONResponse() will always return a JSON object and we have full control of the url. Recall that neither functions nor expressions are parsed into a new object by JSON.parse().

Thanks so much


Possibly Related Threads...
Thread / Author Replies Views Last Post
by jhonbosworthJan 5, 2024 02:16 PM 0 58 Jan 5, 2024 02:16 PM
Last Post: jhonbosworth
by xQQAug 21, 2013 06:56 AM 3 101 Aug 21, 2013 06:56 AM
Last Post: xQQ
by KeeperJun 4, 2013 06:52 AM 6 1,017 Jun 4, 2013 06:52 AM
Last Post: Pendragon