DrayTek VigorACS SI ( <= 1.3.0)
We found that most of the VigorACS SI deployments are using the default http authentication settings (acs/password). This is not so much a software vulnerability but more a configuration issue. The UploadDownloadServlet can be used to (read and) write files to the server directly. In addition, this functionality is accessible without having to provide the http authentication details. The regular expression that is used to prevent this is not sufficient: it removes occurences of '../' (without the quotes). By providing input like '....//', the middle '../' will be removed, while the remainder equals to '../'. We could now use the FileServlet to access any file on the server. The UploadFileServlet will append '.cfg' to the given filename, this means files uploaded via this mechanism aren't directly of use by an attacker. However, when the payload is a ZIP archive, the vuln. in 2.5 (Local unzip functionality) can be used to unpack an otherwise benign file into an full-blown JSP shell.