News for hackers. Stuff that matters.
Re:Password may not contain: select, insert, update, delete,... by crazygringo on Sunday January 21, 2024 @06:05PM (#39083995)
You can run any JavaScript.

So you can show a popup saying the user needs to log in again, and then log their credentials on your own server instead.

Re:Password may not contain: select, insert, update, delete,... by paledot on Sunday January 21, 2024 @06:41PM (#39084234)
Or exfiltrate their session cookie, or post spam/phishing links on their behalf...
Re:Password may not contain: select, insert, update, delete,... by sillysaurusx on Sunday January 21, 2024 @09:21PM (#39085338)
Session cookies are generally not available to javascript. The latter is true though.
Re:Password may not contain: select, insert, update, delete,... by None4U on Sunday January 21, 2024 @09:45PM (#39085535)
Perhaps HttpOnly wasn't as prevalent back then?
Re:Password may not contain: select, insert, update, delete,... by matsemann on Monday January 22, 2024 @03:39AM (#39087569)
Yup, no CORS either, all protections relied on having proper CSRF-tokens, but with JS access one could read that token as well.

My "hack" was mostly pretty harmless. Just did some layout changes to make my profile cooler. But the door was wide open for anything.