जमा करें #43711: The simple and beautiful PHP shopping cart system has XSS vulnerability.जानकारी

शीर्षकThe simple and beautiful PHP shopping cart system has XSS vulnerability.
विवरणSimple and beautiful PHP shopping cart system CMS exist Cross-site scripting Vulnerability .The input variables are not protected and output is directly output. Attackers can construct malicious code to steal user and administrator cookies. Vulnerability file location:/mkshope/login.php look at this source code ``` if (isset($_GET['status'])) { $id=$_GET['status']; $msg=$_GET['msg']; <strong>Error:</strong> &nbsp; <?php echo $msg; ?>! ``` There is no protection for the `msg` here. The `msg` variable is directly output here. Here we can insert XSS statements to steal user cookies and other information. The construction statement is as follows ``` ?status=error&msg=<script>alert(document.cookie)</script> ``` https://s1.ax1x.com/2022/08/13/vNcnHA.png Source link https://www.sourcecodester.com/php/12579/simple-and-nice-shopping-cart-script.html
स्रोत⚠️ https://www.sourcecodester.com/php/12579/simple-and-nice-shopping-cart-script.html
उपयोगकर्ता
 qidian (UID 30810)
सबमिशन14/08/2022 11:36 AM (4 साल पहले)
संयम14/08/2022 12:31 PM (55 minutes later)
स्थितिस्वीकृत
VulDB प्रविष्टि206401 [SourceCodester Simple and Nice Shopping Cart Script /mkshope/login.php msg क्रॉस साइट स्क्रिप्टिंग]
अंक20

Do you know our Splunk app?

Download it now for free!