
यह रिपॉजिटरी CVE-2023-30212 भेद्यता का अनुकरण करने के लिए एक डॉकर कंटेनर प्रदान करती है, जिससे आप इसके प्रभाव का अभ्यास और समझ सकते हैं। इसमें आपके अपने कंप्यूटर पर कंटेनर स्थापित करने में मदद करने के लिए एक व्यापक मार्गदर्शिका शामिल है। डॉकर निर्माण प्रक्रिया के लिए दस्तावेज़ीकरण भी शामिल है।
| विक्रेता | उत्पाद | संस्करण |
|---|
| ourphp | ourphp | 7.2.0 |
डॉकर में OURPHP <= 7.2.0 स्थापित करने के लिए आप अभ्यास हेतु डॉकर स्थापित करने के लिए गाइड का उपयोग कर सकते हैं।
# ourphp 7.2.0 version has a vulnerability to XSS (Cross-Site Scripting).
# In the file /client/manage/ourphp_out.php, there is a direct echo functionality that, along with controllable variables, can enable attackers to execute XSS code.When the ourphp_admin parameter is set to "logout," we echo a controllable variable called "out."
# To exploit this, we prepend a script tag and close it, forming our payload.This vulnerability can be exploited through the "out" parameter by injecting the following script: "</script><script>alert(xss)</script>"
# After completing the setup of the docker directly. Access the following path :
http://localhost/client/manage/ourphp_out.php?ourphp_admin=logout&out=</script><script>alert(`xss`)</script>
# </script><script>alert(`xss`)</script>