Copied to clipboard

Flag this post as spam?

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


  • Dane McNaughton 8 posts 109 karma points
    Apr 30, 2019 @ 05:27
    Dane McNaughton
    0

    Disable Web Services in Umbraco 7.6.4

    I refer you to an unanswered post in February 2018 - https://our.umbraco.com/forum/using-umbraco-and-getting-started/90790-umbraco-webservice-folder-in-v74

    We are experiencing a similar scenario. A recent penetration test of our website uncovered the following;

    "The website was found to expose a SOAP interface externally that allows functionalities such as ‘SaveDLRScript’. This functionality is commonly used to perform unauthorised arbitrary file upload and to gain remote access. The following URL was identified on the primary website.

    Vulnerable URL: https://www.oursite.com/umbraco/webservices/codeEditorSave.asmx?WSDL"

    We are using the IPWhitelistModule.cs to prevent external IPs accessing the following;

                filePath.ToLower().Contains("umbraco")
                && !filePath.ToLower().Contains("umbraco/api")
                && !filePath.ToLower().Contains("umbraco/surface")
                && !filePath.ToLower().Contains("umbraco/plugins")
                && !filePath.ToLower().Contains("umbraco/webservices")
                && !filePath.ToLower().Contains("umbraco/webservices/api")
                && !filePath.ToLower().Contains("umbraco/backoffice")
    

    I am therefore curious as to how external IPs can hit the "vulnerable " URL.

    Same question as the Feb 2018 post - Can I delete the webservices folder? Is there anything depending on it by default?

    Thanks!

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Apr 30, 2019 @ 07:36
    Dave Woestenborghs
    100

    Hi Dane,

    I don't know if deleting the folder will break anything. It think that is a matter of trial and error.

    But having a wsdl description visible does not mean your site is vulnerable.

    You can see the webservice inherits from UmbracoAuthorizedWebService

    https://github.com/umbraco/Umbraco-CMS/blob/v7/dev/src/Umbraco.Web/umbraco.presentation/umbraco/webservices/codeEditorSave.asmx.cs

    So only authenticated users can make use of the webservice.

    Dave

  • Dane McNaughton 8 posts 109 karma points
    Apr 30, 2019 @ 23:04
    Dane McNaughton
    0

    Thank you for the response Dave.

    Much appreciated!

Please Sign in or register to post replies

Write your reply to:

Draft