提交 #108468: mogu_blog_v2-FileRestApi#uploadPicsByUrl has a SSRF vulnerability信息

标题mogu_blog_v2-FileRestApi#uploadPicsByUrl has a SSRF vulnerability
描述https://github.com/c3p0ooo-Yiqiyin/mogu_blog_v2/blob/main/README.md The "uploadPicsByUrl()" method in mogu_blog_v2 contains an SSRF vulnerability. This method uploads the content of the URL we input as the file content. The code uses the new URL class to obtain the data stream from the request link and write it to the image file. As no validation is performed on the user input, it is possible to read files using the file protocol and write them to the image file, and access the file content by accessing the image path using the HTTP protocol.
来源⚠️ https://github.com/c3p0ooo-Yiqiyin/mogu_blog_v2/blob/main/README.md
用户
 c3p0ooo_Yiqiyin (UID 44113)
提交2023-03-31 03時43分 (4 年前)
管理2023-04-15 11時23分 (15 days later)
状态已接受
VulDB条目226109 [moxi624 Mogu Blog v2 直到 5.2 uploadPicsByUrl uploadPictureByUrl urlList 信息公开]
积分20

Do you need the next level of professionalism?

Upgrade your account now!