Spam from "system"

AI-generated summary

On a Discourse instance, the “system” account began sending spam, including messages about “W-8BEN compliance” and Chinese shipping, after being inactive for six years. Mark_W_Bennett reported the issue, noting no user was logged in as “system” and no obvious security flaws. pfaffman asked for details, and Mark_W_Bennett clarified the spam types. Falco suggested checking API keys and the system user’s security settings, but Mark_W_Bennett confirmed no active API keys and no recent login devices. Moin recalled a similar past incident. Falco later identified the cause: a bug affecting sites with staged users disabled and incoming emails enabled, which caused emails to be sent under the “system” account. lindsey confirmed the issue was fixed in October, and the spam should no longer occur.

On our Discourse instance, the “system” account has started sending spam to the forum and the email list. It has happened three times in the last five days.

There is no user responsible for “system,” nobody has logged in to admin with that username, and there are no obvious attack surfaces in the admin panel.

My best guess is that someone is exploiting the discourse server. So I came here figuring someone would have seen this before, but I’m at a loss.

Any thoughts?

2 Likes

What does this spam look like?

It’s hard to think of how that could happen.

1 Like

Two things:

  1. “W-8BEN compliance.”
  2. Chinese shipping (?) spam.

This just popped up after “system” had been quiet for six years.

2 Likes

Do you have any active API keys? Check /admin/api/keys

3 Likes

We don’t.

(I walked through this with an LLM, and that was one of its suggestions.)

Does /u/system/preferences/security show any recent browsers ?

3 Likes

I remember reading another topic where someone reported spam posts that were authored by the system. But I cannot find it anymore. I think the topic was deleted.

3 Likes

No, /u/system/preferences/security does not show any recent browsers (“recently used devices,” right?).

Looks like this was caused by a bad change on our side. Sites that have both:

  • Staged users disabled
  • Allow incoming emails

Will get incoming emails under the system user.

The team responsible is working on a fix.

9 Likes

Sorry for the delay on our response — we fixed this issue back in October so this shouldn’t be happening anymore. If you notice any issues, though, please let us know!

3 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.