my forum got hacked today
My password got compromised, nevermind.
Somehow a user posted under my account. and it was posted with the tag "cid-4-privileges-read". Because nodebb was in dev mode, the last requested links were
20/3 01:07  - warn: Route requested but not found: /groups/cid-4-privileges-read
20/3 04:18  - verbose: [translator] No resource file found for en_US/markdown, using provided fallback language file
20/3 04:21  - warn: Route requested but not found: /CHANGELOG.txt
20/3 04:21  - warn: Route requested but not found: /readme.html
20/3 04:42  - warn: Route requested but not found: /user/c???????
20/3 05:01  - warn: Route requested but not found: /category/27
20/3 06:57  - warn: Route requested but not found: /index.php?app=forums&module=extras§ion=stats&do=who&t=1234
20/3 09:34  - warn: Route requested but not found: /topic/189/hacker
Is there any log files i can see how this happened? I was running the forums on latest build in dev mode, guess that isn't helpful?
@chas nope none of these logs contain any useful info.
Please note that the dev mode is not meant for a productional system.
Additionally you should be sure that your chosen password is secure. Just like the device & browser you are using to log into it.
which theme do you have installed? can you also list all the plugins you have installed?
persona theme, but i think this was done via injection, they tried all kinds of things by the looks of it
Does any developer want to analyze my nginx logs ?
@chas did you have another forum software running on this domain before switching to NodeBB?
You can contact NodeBB Team by sending an email to firstname.lastname@example.org
@pichalite Yes but completely different server
@nhl.pl Thanks i'll do that
@chas doesn't matter if it's a different server or not... if it's the same domain then, search bots are going to crawl for the old links to see if they still work.
those "route requested but not found" warnings are from the bots checking the old url not somebody hacking your server.
@pichalite Yup i know, just posting the last few lines of the dev terminal after it happened.
@chas you don't have any plugins installed?
I've sent some logs to security@nodebb and we'll go from there. I don't want to cause alarm because it could be somehow my password got compromised (though i have no idea how)
Yep Sorry guys, finally figured it out.
They decrypted my password through the Xsplit db leak and managed to login to my account.
Time to look at that 2FA plugin !...
Thanks again and apologies for the panic