The vulnerability is in the test method in maccms/application/admin/controller/Collect.php. The parameters of this method are controllable, and the vod_xml or vod_json method will be called later.
Finally, it fell to mac_curl_get to cause SSRF vulnerability.
POC is as follows
http://localhost:8001/maccms/admin888.php/admin/collect/test //POST cjurl=http://localhost:9999#&type=1
Repair plan:
Filter the parameter cjurl
The vulnerability is in the test method in maccms/application/admin/controller/Collect.php. The parameters of this method are controllable, and the vod_xml or vod_json method will be called later. Finally, it fell to mac_curl_get to cause SSRF vulnerability. POC is as follows
http://localhost:8001/maccms/admin888.php/admin/collect/test //POST cjurl=http://localhost:9999#&type=1
Repair plan: Filter the parameter cjurl