Copied to clipboard

Flag this post as spam?

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


  • Dan 1285 posts 3917 karma points c-trib
    Apr 29, 2013 @ 11:14
    Dan
    0

    umbraco.webservices.dll - why is it mostly not there?

    Hi,

    Just taking action to mitigate the recent security vulnerability.  The suggested action is to delete the 'umbraco.webservices.dll' file.  Lee Kelleher has pointed out that the file was introduced in version 3.0.0.  However, I'm part way through checking all client sites and so far only 2 have contained the file.  All are v4 websites, ranging from early 4.0 to the latest 4.11.  The two sites containing the file so far are 4.0.4.2 and 4.11.3.

    This is not a problem as such, I just wondered why this file would not be there on most installations if it's been part of the core installation since 3.0.0?

    Thanks folks.

  • Niels Hartvig 1951 posts 2391 karma points c-trib
    Apr 29, 2013 @ 11:23
    Niels Hartvig
    103

    Due to a bug in our build environment, it wasn't included by default in a number of v4.x versions. Some might say a lucky bug.

  • Dan 1285 posts 3917 karma points c-trib
    Apr 29, 2013 @ 11:29
    Dan
    0

    Cool, thanks Niels.  I'm just putting together a reference of which versions included it by default and which didn't.  Although I think EVERYONE should check all installations (as I'm doing) it'll at least put people's minds at ease if that file isn't there and they think it's supposed to be.

  • Dan 1285 posts 3917 karma points c-trib
    Apr 29, 2013 @ 11:52
    Dan
    14

    Okay, the formatting might break horribly, but I've been through an archive of the releases since 3.0.0.  Seems the file is in most installations except for a gap between (and including) 4.5.1 and 4.7.2, and a blip where it wasn't included in 3.0.1.  Obviously all installations should be checked regardless, but hopefully this provides a little peace of mind to devs who have sites where the file doesn't exist:

     

    Version Was file included?
    3.0.0 Yes
    3.0.1 No
    3.0.2 Yes
    3.0.3 Yes
    3.0.5 Yes
    3.0.6 Yes
    4.0.1 Yes
    4.0.2.1 Yes
    4.0.3 Yes
    4.0.4.2 Yes
    4.5.0 Yes
    4.5.1 No
    4.5.2 No
    4.6.1 No
    4.7.0 No
    4.7.1 No
    4.7.1.1 No
    4.7.2 No
    4.8.0 Yes
    4.8.1 Yes
    4.9.0 Yes
    4.9.1 Yes
    4.10.1 Yes
    4.11.3.1 Yes
    4.11.4 Yes
    4.11.5 Yes
    4.11.6 Yes
    6.0.0 Yes
    6.0.2 Yes
    6.0.3 Yes

     

    Clearly, even if a site is running a version which didn't include the file, if that site has been upgraded or downgraded there's a good chance it still contains the problem file. So, again, I'm sure the advice is to check each installation thoroughly, regardless of version.

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Apr 29, 2013 @ 12:04
    Lee Kelleher
    0

    Great analysis Dan! #h5yr

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Apr 29, 2013 @ 13:41
    Dave Woestenborghs
    0

    Strange.. I have 4.7.2 installs...one containing the dll and one that doesn't.

     

  • Dan 1285 posts 3917 karma points c-trib
    Apr 29, 2013 @ 13:46
    Dan
    0

    Could one of them be an upgrade from < 4.5.1 or a downgrade (or failed/aborted upgrade) from 4.8.0+?

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Apr 29, 2013 @ 13:47
    Dave Woestenborghs
    0

    Nope.

    The one with the dll is a clean install from 4.7.2

    The one without the dll is a 4.7.0 install which has been upgraded to 4.7.2

  • Dan 1285 posts 3917 karma points c-trib
    Apr 29, 2013 @ 13:56
    Dan
    0

    Perhaps there were versions on Codeplex at the time which didn't suffer the same build environment bug as the full stand-alone installs?  There are probably a number of ways of arriving at the installation files (e.g. built from source, Codeplex download, Web Platform Installer etc), so definitely worth checking regardless of version.

  • Chad Rosenthal 272 posts 474 karma points
    Apr 29, 2013 @ 15:22
    Chad Rosenthal
    0

    So how should we deal with this file if we installed through Nuget? When we do a publish on a new server, it grabs the files from the internet first, so the file will keep reappearing. Right? Or was it removed from the nuget world?

    -C

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Apr 29, 2013 @ 21:32
    Tom Fulton
    0

    @Chad for nuget installs, you can just remove the Reference to that DLL on the project.  The package restore shouldn't add references, only download the DLLs (which won't get copied to /bin/ if not referenced).  Or if you want to be really safe, you can use Anthony's suggestion of adding a post-build event to delete the file.

Please Sign in or register to post replies

Write your reply to:

Draft