提交 #521169: Vulnerabilities in the dating platform. windows 4.0 File upload vulnerability信息

标题Vulnerabilities in the dating platform. windows 4.0 File upload vulnerability
描述Code auditing reveals that the following code receives the data parameter through the input function. The type of the data parameter is an array, and then it calls the base64image function for processing. $res = base64Image($v,"uploads/".date("Y-m-d")."/"); if (preg_match('/^(data:\s*image\/(\w+);base64,)/',$imgBase64,$res)) if (file_put_contents($new_file,base64_decode(str_replace($res[1],'', $imgBase64)))) After encoding the verification code with Base64, upload it. https://www.jianshu.com/p/f8ca5e3cd889
来源⚠️ https://www.jianshu.com/p/f8ca5e3cd889
用户
 leizi (UID 82832)
提交2025-03-16 07時46分 (2 年前)
管理2025-03-22 14時45分 (6 days later)
状态已接受
VulDB条目300688 [Yue Lao Blind Box 月老盲盒 直到 4.0 Upload.php base64image data 权限提升]
积分20

Do you know our Splunk app?

Download it now for free!