News for hackers. Stuff that matters.
Re:Using Goatse to Stop App Theft by chatmasta on Tuesday October 17, 2023 @04:47PM (#37921367)
You're welcome. :D

The client-side XSS is mostly harmless (assuming you don't have any other sensitive services running with cookies scoped to this domain), although it's technically a persistent XSS, which means it could be indexed by search engines.

But is there a server-side component to this? I noticed that the "disclaimer" is added in the source returned by the server, so I assume there is some code that checks whether the post is present on the home page? If so, that could be dangerous, if there is a bug in that code such that a malicious payload in the URL could get RCE in your server process.

Re:Using Goatse to Stop App Theft by joshcsimmons on Tuesday October 17, 2023 @06:53PM (#37922641)
I've just added some defensive programming to the site. Sorry to say. Appreciate that you hacked it with your image onerror, pretty clever.

TBH I haven't thought about most of these things. Nobody typically reads my blogs when I've made them before and this is likely the only interest it will get for quite a while.

Re:Using Goatse to Stop App Theft by chatmasta on Tuesday October 17, 2023 @06:58PM (#37922684)
lol :) nice fix

Can't promise I won't circumvent it when I've got some time...