DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

New DNN9 installation keeps throwing this weird recursive error in my Logs

 8 Replies
 2 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
Growing Member
Posts: 27
Growing Member

It's a new installation, I upgraded from 8 to 9 recently. The site only has default extensions on it and some content.
I keep getting this weird recursive error from the login page I guess. It's HTML encoded in my logs but once decoded it comes out to be this:

/Default.aspx?ctl=Login&returnurl=/Default.aspx?ctl=Register&returnurl=/login.aspx?ReturnUrl=/login.aspx?ReturnUrl=/login.aspx?ReturnUrl=/login.aspx?ReturnUrl=/WolframSyndrome/ACloserLookatWS.aspx&tabid=56,/Default.aspx?ctl=Login&returnurl=/Default.aspx?ctl=Login&returnurl=/Default.aspx?ctl=Register&tabid=56&tabid=56,/Default.aspx?ctl=Register,/Default.aspx?ctl=Register

The site is still on a temporary domain, so it's not even properly "published" yet. Could this be someone trying to get in or is it just the application going bonkers?
I've got lots of errors like this, roughly once a minute...
Any idea what it could be?

Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
My first guess would be this is a robot. unless your dealing with "WolframSyndrome/ACloserLookatWS.aspx" on your site?
By "not published", do you mean not visible by the public?
Advanced Member
Posts: 243
Advanced Member
2 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
2 Engaged Reader
Engaged Reader
You are an engaged reader!
Looks like you created a redirect loop. Can you check the site settings: login and register page settings
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

We have seen similar entries in the log by scanners / hackers, tyring all kinds of urls, of which some lead to a 500 error

Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!

FYI, you see this on every site, this is not a DNN specific thing.
Most scanners seem to look for wordpress vulnerabilities (even on DNN sites), which tells me it's all automated.

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

I know it doesn't always make sense, but I've always found that bots of all kinds will discover your sites, even if they're on a test/staging domain.  That is, unless you literally use a WAF (or something else) to block it from happening.  

With that being said, this sounds like a bot (automated) is probably causing a redirect loop between the <code>Login</code> and <code>Register</code> endpoints after the 8→9 upgrade—not an intrusion attempt. A bot or crawler is probably hitting <code>/register</code> (or <code>/login</code>) once a minute, and because of a settings mismatch, DNN keeps tacking on another <code>ReturnUrl=</code>… as it bounces between the two, producing that long, recursive query string.

Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Will has a point. Look at you your "Site Settings>Site Behaviour" Settings, see if any of the pages are redirecting to a login or register page.

Our usual approach to this kind of bot problem is to add a 403 redirect to block known spam robots. We have a automated process to do this, but you can do it manually by using a list of robots and often we add new robots when we find them doing strange things. There is an overhead to this be we find it minimal.

Here is a list of know spammers: https://raw.githubusercon.../master/spammers.txt
Growing Member
Posts: 27
Growing Member

I'll check if I have some weird redirect. I didn't create any so, unless it has weird redirects out of the box, then no.
The only thing I did is put a Registration module on the Contact us page, in order to only let authorized registered users see the feedback module and send feedback, to try and cut back on the spam feedback.
Unfortunately it looks like the Registration module doesn't come with captcha or other anti spam features so... I'll probably have to deal with spam registrations.
Those are usually easier to bulk-erase so, I guess it's the best solution.

Advanced Member
Posts: 207
Advanced Member
Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
We always use "Verified Registration" now. This really help with the spam registration.

There is also a form module on RocketCDS: https://github.com/Rocket...S/RocketCDS/releases This has anti spamming built into it, without the use of captcha. But you'll need to add the fields you need with a razor template. There is a contact template as an example. https://github.com/Rocket-CDS/AppThemes-W3-CSS

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved