5 ms·
Semgrep: JavaScript browser security concat bypass not detected
- userbinator 6y agoAs someone who has fought my fair share of "useless security theater/bureaucracy", I have mixed feelings on this... One only has to think of how content filters on school computers leads to people learning about VPNs, DNS, proxies, etc. to know that humans tend to be most creative when they are faced with stupid/unreasonable restrictions.
- brundolf 6y agoWhen I was in high school, cmd.exe was blocked on the school computers for obvious reasons. However, a classmate of mine figured out that you could create a .bat file that did nothing but pipe input and output to and from the shell, and then you could save it and double-click it to get a functioning terminal.
- zoover2020 6y agoReminds me of a trick I found to circumvent explorer.exe restrictions in HS: use Google Chrome as a File browser. I kid you not: was able to access local network drives with tests on them, never abused it though.
- Thorrez 6y agoAt my high school I found I could run any program I wanted as long as I renamed it to firefox.exe first.
- yonixw 6y agoWe just opened powershell instead
- girvo 6y agoUnder Novell NetWare at my school, all executables were banned aside from those in the launcher. Opening any office program, navigating to the Visual Basic macro editor environment, and using the file open dialog would execute any binary with no issue though!
- callesgg 6y agoIn the early 2000’s my school had some type of novel system. It would periodically log in and run some type of scheduled task without starting the desktop, just initiating a small window that said something like "updating profiles". you could right click the window and open the windows help window, right click that window and get a file browser from which you could run whatever you wanted. As a kid not knowing much about computers I thought that was so cool. I managed to "hack" and bypass the login. What a piece of shit software that thing was.
- colejohnson66 6y agoWe would just fire up “command.com” which would pull up cmd.exe even though we couldn’t execute it directly. (~2012)
- watwut 6y ago> how content filters on school computers leads to people learning about VPNs, DNS, proxies, Yeah, but only for small part of population. Overwhelming majority of students of schools with filters grow up with zero knowledge of any of those.
- lemoncurd 6y agobaracuda networks' firewall is easily bypassed by using tor with bridges, you can even then use tor as a proxy on your computer, and use chrome to browse da web
- tyingq 6y agoGuessing ['<shite>','<whatever>'].join('') is up next.
- acemarke 6y agoHeh. I once had a security warning from a static analysis tool that did not like my use of `xhr.open("GET")`, flagging it as a security risk. I worked around it with: var method = ["T", "E", "G"]; method.reverse(); xhr.open(method.join()) still not sure whether to be proud or disgusted with that trick :)
- edoceo 6y agoYou should be proud of how you came up with such a disgusting solution :). Rule #1: if it's stupid and it works, it's not stupid.
- foota 6y agoWhy was that flagged as a security risk?
- faeyanpiraat 6y agoIt might have been software managing sensitive information, and you can leak data that way
- himinlomax 6y agoIt allows xhr.open, just not with a string literal, so that's not the issue.
- acemarke 6y agoHonestly, I can't remember at this point. It had something to do with the use of AJAX overall, and a GET request via XHR specifically, but this was many years ago and I don't know what the specific finding description was.
- giantDinosaur 6y ago