Top all-time · #2838
Web Security Blog
Company blog · blog.portswigger.netsecurity
Web Security Blog is the company blog at blog.portswigger.net, writing about security. Since 2010, 26 different Hacker News readers have linked it 35 times, most often “Web Storage: the lesser evil for session tokens”. No feed was found, so read it on the site itself.
Articles and product insights from the PortSwigger team. Keep up to date with Burp Suite and the world of web security by visiting our blog.
Most-linked posts?
- Web Storage: the lesser evil for session tokens4 people · 5 mentions · first linked 2016-05-31
- Detecting and exploiting path-relative stylesheet import vulnerabilities3 people · 3 mentions · first linked 2015-02-17
- XSS Without HTML: Client-Side Template Injection with AngularJS2 people · 2 mentions · first linked 2016-01-27
- Backslash Powered Scanning: Hunting Unknown Vulnerability Classes2 people · 2 mentions · first linked 2016-11-04
- Exploiting CORS Misconfigurations for Bitcoins and Bounties2 people · 2 mentions · first linked 2016-10-18
- JSON hijacking for the modern web2 people · 2 mentions · first linked 2016-11-26
- Executing non-alphanumeric JavaScript without parentheses2 people · 2 mentions · first linked 2016-07-15
What Hacker News says?
See also http://blog.portswigger.net/2016/07/executing-non-alphanumer... for executable JavaScript without parentheses .
Comment linking /2016/07/executing-non-alphanumeric-javascript.html
on “Code that is valid in both PHP and Java, and produces the same output in both”Submitted Targeting HTTP's Hidden Attack-Surface as a story · 207 points
HN discussionThe downside being that the browser will attach it to every request; if you use cookies, you MUST be aware of this, or you are (IMO) pretty much guaranteed to write a CSRF vuln. (I'm much more in the localStorage + Authorization header for this reason. I recommend [1] for reading. If malicious JS is running, cookies won't save you, since the malicious JS is capable of simply making the request itself, to which the c…
Comment linking /2016/05/web-storage-lesser-evil-for-session.html
on “JSON Web Tokens should be avoided”Submitted Web Storage: the lesser evil for session tokens as a story · 195 points
HN discussionBecause you can set Secure and HttpOnly flags on cookies? This merely brings them up to the same level of security you get with Local Storage. http://blog.portswigger.net/2016/05/web-storage-lesser-evil-...
Comment linking /2016/05/web-storage-lesser-evil-for-session.html
on “JSON Web Tokens vs. Sessions”Submitted Executing non-alphanumeric JavaScript without parentheses as a story · 123 points
HN discussion<!--Removed after seeing response about automating tool--> You can script the scanner to auto-decode B64 cookie once you found them: http://blog.portswigger.net/2012/12/sample-burp-suite-extens... It all boils down to: how can you be so sure if your tool/process is finding most vulnerabilities than others, and can you prove it? If I were your client, I would be very worried by now.
Comment linking /2012/12/sample-burp-suite-extension-custom-scan.html
on “So You Want To Be A Breaker, Part 1: Web Security”Submitted Web App Hacker's Handbook 2nd Edition - Preview as a story · 70 points
HN discussionIf you don't believe `tptacek maybe you will believe James Kettle: http://blog.portswigger.net/2016/05/web-storage-lesser-evil-...
Comment linking /2016/05/web-storage-lesser-evil-for-session.html
on “Don't use JSON web tokens for sessions”Submitted Bypassing CSP using polyglot JPEGs as a story · 43 points
HN discussionMight be useful in conjunction with a path-relative stylesheet include. http://blog.portswigger.net/2015/02/prssi.html
Comment linking /2015/02/prssi.html
on “CSS Based Attack fontface”Submitted Cracking the Lens: Targeting HTTP's Hidden Attack-Surface as a story · 36 points
HN discussionPretty much - the first paragraph links to an example of this technique being used to exploit Uber's developer documentation - http://blog.portswigger.net/2016/04/adapting-angularjs-paylo...
Comment linking /2016/04/adapting-angularjs-payloads-to-exploit.html
on “Executing non-alphanumeric JavaScript without parentheses”Submitted Detecting and exploiting path-relative stylesheet import vulnerabilities as a story · 18 points
HN discussionYea, but doing it that way requires same origin policy not to be weakened like from CORS being misconfigured. http://blog.portswigger.net/2016/10/exploiting-cors-misconfi... talks about exploits from this. But what I am wondering is if using "Access-Control-Allow-Origin: evil-site.example.com or *" can be used to exploit the cookie-to-header technique with a token for every request (GETS included), no form GETS (so…
Comment linking /2016/10/exploiting-cors-misconfigurations-for.html
on “Can “Cookie to header token” CSRF prevention be beaten with permissive CORS?”Submitted JSON hijacking for the modern web as a story · 10 points
HN discussiongoing to go with Burp's devs on this one http://blog.portswigger.net/2016/05/web-storage-lesser-evil-...
Comment linking /2016/05/web-storage-lesser-evil-for-session.html
on “How EU Cookie Law Myths Affect Web Security”Submitted Backslash Powered Scanning: Hunting Unknown Vulnerability Classes as a story · 4 points
HN discussionSubmitted When Security Features Collide as a story · 3 points
HN discussionSubmitted JSON hijacking for the modern web as a story · 3 points
HN discussionSubmitted PortSwigger Web Security Blog: Server-Side Template Injection as a story · 3 points
HN discussionSubmitted Detecting and exploiting path-relative stylesheet import vulnerabilities as a story · 3 points
HN discussionSubmitted How I Accidentally Framed Myself for a Hacking Frenzy as a story · 2 points
HN discussionSubmitted Microsoft Edge XSS Filter Bypass as a story · 2 points
HN discussionSubmitted Introducing Burp Collaborator: Web Security Testing as a story · 2 points
HN discussionSubmitted Abusing Chrome's XSS auditor to steal tokens as a story · 2 points
HN discussionSubmitted Burp Suite Free Edition v1.4 released as a story · 2 points
HN discussionSubmitted Backslash Powered Scanning: Hunting Unknown Vulnerability Classes as a story · 1 points
HN discussionSubmitted Exploiting CORS Misconfigurations for Bitcoins and Bounties as a story · 1 points
HN discussionSubmitted XSS Without HTML: Client-Side Template Injection with AngularJS as a story · 1 points
HN discussion