Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...bot hitting imagechallenge.captcha.aspx when it does not really existbot hitting imagechallenge.captcha.aspx when it does not really exist
Previous
 
Next
New Post
7/24/2014 1:32 AM
 

Looking at a client's site today that was reporting that their event log was growing like crazy - 50-90 pages in hours.

When I looked at the log it was for a url that does not exist on the site  /DesktopModules/LP_HTMLMacro/ImageChallenge.captcha.aspx

And it was from this agent / bot  --   msnbot-media/1.1 (+http://search.msn.com/msnbot.htm)

A couple of things though caught my eye - the event error was for a badly formed link 

System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
   at DotNetNuke.UI.WebControls.CaptchaControl.GenerateImage(String encryptedText)

And not because the url did not exist - so I did some testing.

There is no ImageChallenge.captcha.aspx  in the module - but what i found more odd was that in fact it dont MATTER what you put into the url ... all it needs to do is end in captch.aspx for the system to start trying to process the url thru the image captch control  -  for example:

 a url like //www.dnnsoftware.com/Desktopqweules/HTMLNotHereMaasdcro/Imaasdasdrnge.captcha.aspx  will bypass all the normal bad url checks not returning a page not found - but possibly trigger the creation of an error event in the event log - instead of showing a URL not found message.

Anyone got any thoughts or ideas on how to deal with this - and i guess stop it filling up the clients event log.

Westa

 
New Post
8/4/2014 7:33 PM
 
The web.config defines the handler as *.captcha.aspx so any url with that ending will run through the logic - that said we should exit the code quickly if no catcha text is generated (there is a separate class which posts an encrypted value to generate the image)- please log it to support.dnnsoftware.com so we can add code to short-circuit and exit without causing an exception

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
5/3/2016 3:53 AM
 
Any news about this? I've similar exception on my DNN 7.4.2
 
New Post
5/3/2016 6:09 AM
 
would you mind to provide full stack trace please, thank you.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/15/2017 2:59 AM
 
I am using Evoq 8.2 and getting same Exception in Event Viewer. The Stack Trace for Exception:
AbsoluteURL:/ImageChallenge.captcha.aspx
DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke
ExceptionGUID:1ee0a315-aa3b-4e0a-b96d-f3c2d208b18e
AssemblyVersion:
PortalId:-1
UserId:-1
TabId:-1
RawUrl:
Referrer:
UserAgent:
ExceptionHash:A6WyL75tUM85qwDyl+q4mg==
Message:Input string was not in a correct format.
StackTrace:
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at DotNetNuke.UI.WebControls.CaptchaControl.GenerateImage(String encryptedText)
InnerMessage:
InnerStackTrace:
Source:mscorlib
FileName:
FileLineNumber:0
FileColumnNumber:0
Method:
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Performance and...Performance and...bot hitting imagechallenge.captcha.aspx when it does not really existbot hitting imagechallenge.captcha.aspx when it does not really exist


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out