首页
社区
课程
招聘
未解决 关于php上传漏洞无权限
发表于: 2021-1-23 17:23 2962

未解决 关于php上传漏洞无权限

2021-1-23 17:23
2962
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
HTTP/1.1 200 OK
Server: nginx/1.18.0
Date: Sat, 23 Jan 2021 09:15:51 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
 
1e5
<br />
<b>Warning</b>:  move_uploaded_file(upload/16113933512194.png): failed to open stream: Permission denied in <b>/www/wwwroot/video_main_site/member_eldjafsamfsfj85427575/tx_upload.php</b> on line <b>28</b><br />
<br />
<b>Warning</b>:  move_uploaded_file(): Unable to move '/tmp/phpC4FgK9' to 'upload/16113933512194.png' in <b>/www/wwwroot/video_main_site/member_eldjafsamfsfj85427575/tx_upload.php</b> on line <b>28</b><br />
{"isSuccess":false,"msg":"\u4e0a\u4f20\u5931\u8d25"}
0

3c3K9s2c8@1M7q4)9K6b7g2)9J5c8W2)9J5c8X3p5^5i4K6u0W2L8X3!0&6K9e0g2E0K9#2)9J5k6h3y4F1i4K6u0r3L8h3g2E0j5X3g2J5i4K6g2X3k6h3I4V1K9X3q4X3M7$3q4E0k6Y4y4X3K9U0R3#2y4o6t1%4y4e0M7#2i4K6u0r3N6s2S2Q4y4h3k6#2M7r3I4G2j5h3c8Q4x3X3g2H3K9s2m8Q4c8e0k6Q4b7V1y4Q4z5p5k6Q4c8e0k6Q4b7U0c8Q4z5f1g2Q4c8e0g2Q4z5f1y4Q4b7U0m8Q4c8e0g2Q4z5f1c8Q4z5o6l9`.

 

漏洞代码

1
2
3
4
5
6
---------------------------acebdf13572468
Content-Disposition: form-data; name="file"; filename="20200215121743466.png"
Content-Type: a/image
 
<@INCLUDE *C:\Users\Administrator\Desktop\20200215121743466.png*@>
---------------------------acebdf13572468--

总是返回没有是咋回事???


[培训]科锐逆向工程师培训第53期2025年7月8日开班!

收藏
免费 0
支持
分享
最新回复 (4)
雪    币: 73
活跃值: (281)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
看不懂
2021-1-25 15:31
0
雪    币: 254
能力值: ( LV1,RANK:0 )
在线值:
发帖
回帖
粉丝
3
应该是php-fpm的运行用户对upload/ 目录没有写权限
2021-1-25 16:10
0
雪    币: 25
能力值: ( LV1,RANK:0 )
在线值:
发帖
回帖
粉丝
4
一看是搞hc的呀
2021-1-25 16:28
0
雪    币: 73
活跃值: (281)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
5
yoloskr 应该是php-fpm的运行用户对upload/ 目录没有写权限
这种有办法绕过吗
2021-1-25 23:18
0
游客
登录 | 注册 方可回帖
返回