Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jeffrey 2 posts 22 karma points
    Apr 23, 2015 @ 15:44
    Jeffrey
    0

    ASP.NET EventValidation is disabled

    We've recently disovered that in the web.config of our Umbraco project that ASP.NET event validation is disabled. <pages enableEventValidation="false">

    It is recommended by Microsoft to enable this, but enabling it would have impact on the core functionality of Umbraco. On Google we found that this has impact on the macro functionality.

    This feature will most likely have good reasons to be disabled, but I am wondering we should be worried about the security impact of this? Does the core functionality have countermeasures against all types of injection attacks?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 23, 2015 @ 15:52
    Jan Skovgaard
    0

    Hi Jeffrey and welcome to our :)

    As such it should not impact how Umbraco works but more be an issue with submitting form content that should create nodes within Umbraco I think or when using Contour - What version of Umbraco are you using? And have you tried enabling it locally to see what impact it has and which macros are being affected? If it's only related to forms then I think that you should be able to use the HTMLAgility pack to make sure form content can be submitted without security issues.

    Looking forward to hearing from you.

    /Jan

  • Jeffrey 2 posts 22 karma points
    Apr 23, 2015 @ 16:26
    Jeffrey
    0

    Thanks for the welcome and reply.

    We are using 7.2.4 and haven't tried enabling event validation yet, because of the impact it might have. Event validation goes beyond validating forms. It validates most control event and prevents malicious postback requests and callbacks for controls. I'll see if we can do a small test to determine the impact for us, but this might limit future customizations, which I am worried about.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 23, 2015 @ 16:29
    Jan Skovgaard
    0

    Hi Jeffrey

    Aaah, yes sorry about that - I'm afraid I misread your post. Have not dealt with this situation before myself. But hopefully other of the bright minds in here will be able to guide you depending on what you find out.

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft