Skip to content

[3.0] Bots - view likes attacks#9148

Merged
jdarwood007 merged 1 commit intoSimpleMachines:release-3.0from
sbulen:30_bot_user_likes
Mar 12, 2026
Merged

[3.0] Bots - view likes attacks#9148
jdarwood007 merged 1 commit intoSimpleMachines:release-3.0from
sbulen:30_bot_user_likes

Conversation

@sbulen
Copy link
Contributor

@sbulen sbulen commented Mar 12, 2026

Fixes #9112

3.0 version of #9127 - More discussion may be found there.

This PR removes the link allowing users to drill down to see who liked a post. Only guests & bots are affected.

This link is a bot magnet during botnet attacks. During some attacks, these are the ONLY requests made - in the tens of thousands. Note that the request includes the session var & value in the URL. (I believe this is the only guest link that does so...???) When bots pass this bogus session info, the existing session is destroyed and a new one is created, ultimately causing TWO session writes for each bot request. I.e., double the impact.

I believe this should be removed from guests/bots altogether. If that user wants to drill down, they can register.

For more discussion see:
https://www.simplemachines.org/community/index.php?topic=592442.0
https://www.simplemachines.org/community/index.php?topic=590069.0

NOTE I cannot test this due to #9146 , but it looks simple enough...

Signed-off-by: Shawn Bulen <bulens@pacbell.net>
@sbulen sbulen changed the title [3.0] Don't let guests drill down on likes [3.0] Bots - view likes attacks Mar 12, 2026
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Mar 12, 2026
@jdarwood007 jdarwood007 merged commit 07bf70f into SimpleMachines:release-3.0 Mar 12, 2026
8 checks passed
@sbulen sbulen deleted the 30_bot_user_likes branch March 13, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[2.1]: Feature request - ability to disable public access to likes list

2 participants