#7378 RSS feeds shouldn't include comments held for moderation [ss7527]

v1.2.0
closed
nobody
General
2015-08-20
2014-05-07
Chris Tsai
No

Ref: [forge:site-support:#7527]

There is a serious bug releated to the RSS with the projects news on SF that allows anyone to post comments to a news, and have their posts published directly to the RSS news feed without any moderation. This can be easily exploited by spammers.
As an example, yesterday I received 3 spam comments on a news I posted. I never accepted those comments, and I marked them as spam. HOWEVER, they appeared anyway (and -worst of all- they still are present) in the RSS news feed.

This is the news URL:
https://sourceforge.net/p/podcastgen/news/2014/05/podcast-generator-on-sourceforge-blog/
and this is the RSS feed that includes the SPAM comments that were never approved (I also attach a screenshot):
https://sourceforge.net/p/podcastgen/news/feed

The consequences of having comments propagated to the RSS feed prior to moderation and even when they are deleted is the propagation of the content to other websites that read that feed.
In the official Podcast Generator project website, for example, I show automatically the latest 3 news from that RSS feed generated by Sourceforge: hence I had in the home page 3 spam news since yesterday (now I filtered them manually).
The worst consequence of this bug, however, is that my open source software retrieves the last entry from the official news RSS feed and displays it by default in the admin section, therefore thousands of users are currently seeing a SPAM message displayed in their admin section and I have no way to correct this (until you fix this issue).

Thank you in advance,
best
Alberto

User also provided a screenshot

Discussion

  • Anonymous - 2014-05-08

    Originally by: yellowjug

    I just received 6 more SPAM comments (from user herrextprec), and they are populating the news feed of Podcast Generator (even though I didn't accept them).
    https://sourceforge.net/p/podcastgen/news/feed
    Now everyone subscribed to the RSS is receiving them, along with all the users of PG that see them in their admin area by default. It's really annoying...

     
  • Anonymous - 2014-06-17

    Originally by: *anonymous

    Any news on this issue?

     
  • Dave Brondsema

    Dave Brondsema - 2014-06-18
    • labels: support, p3 --> support, p3, 42cc
    • status: open --> in-progress
     
  • Igor Bondarenko - 2014-07-18
    • status: in-progress --> code-review
     
  • Igor Bondarenko - 2014-07-18

    Closed #611. je/42cc_7378

     
  • Dave Brondsema

    Dave Brondsema - 2014-07-18
    • status: code-review --> closed
    • QA: Dave Brondsema
    • Milestone: limbo --> forge-jul-25
     
  • Anonymous - 2014-07-27

    Originally by: yellowjug

    Hello. This issue is marked as closed, when will it be applied to Allura on SF? (I still see the old spam comments in my RSS news feed). Thanks.

     
  • Anonymous - 2014-08-05

    Originally by: yellowjug

    PS. Here is my feed:
    https://sourceforge.net/p/podcastgen/news/feed
    I used to parse it and include it in the official project website, and deliver it to all the users of the software, but now I've been dealing with those SPAM comments for months and there is no way for me to delete them from the Allura interface. Could you please help and clean my official news feed? Thanks

     
  • Dave Brondsema

    Dave Brondsema - 2014-08-12

    The fix is applied to Allura on SF, but only affects new comments going forward, sorry. Hope you get some new comments soon and the old spam comments will drop off the end of the rss feed.

     
  • Anonymous - 2014-08-13

    Originally by: yellowjug

    Nice. So you won't delete the spam entries from the DB (at least manually)... And I have no option to delete them from the admin area either. I just have to "hope that someone else comments the news so the old spam comments drop off the feed". Such a technologically advanced solution... ;P
    Anyway, I'm glad the bug is solved now, thanks.

     
  • Anonymous - 2014-08-13

    Originally by: yellowjug

    I just did a quick test, and added a few "test comments" to my own news. These replaced the old spam comments in the feed. Then I deleted those comments, however they are still present in the RSS feed. So the issue is not completely solved. RSS feed and news should be always in sync. A comment should not appear forever in the RSS feed even if it's deleted from the news.

     
  • Dave Brondsema

    Dave Brondsema - 2015-01-05
    • Milestone: unreleased --> asf_release_1.2.0
     

Log in to post a comment.