{"id":28575,"date":"2022-07-29T20:41:34","date_gmt":"2022-07-29T16:41:34","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/167875\/crs10-xss.txt"},"modified":"2022-07-30T10:05:56","modified_gmt":"2022-07-30T05:35:56","slug":"crime-reporting-system-1-0-cross-site-scripting","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/crime-reporting-system-1-0-cross-site-scripting\/","title":{"rendered":"Crime Reporting System 1.0 Cross Site Scripting"},"content":{"rendered":"<pre dir=\"ltr\"><code># Exploit Title: Crime reporting system - Stored cross-site scripting (XSS)\r\n# Date: 29\/07\/2022\r\n# Exploit Author: Eslam Reda\r\n# Vendor Homepage: https:\/\/sourcecodehero.com\/crime-reporting-system-project-in-php-with-source-code\/\r\n# Software Link: https:\/\/sourcecodehero.com\/\/wp-content\/uploads\/2022\/03\/Crime-Reporting-System-Project-in-PHP-with-source-code.zip\r\n# Version: v1.0\r\n# Tested on: Linux\/Windows<\/code><\/pre>\n<p dir=\"ltr\">1. Login to the application &#8220;the default credentials are username:jude &#8211; password:12345&#8221;, go to add users &#8220;\/admin\/a_users.php&#8221;.<br \/>\n2. Fill in the form with valid information.<br \/>\n3. Intercept the traffic with a proxy and add the payload (&lt;script&gt;alert(9)&lt;\/script&gt;)) in the surname field.<br \/>\n4. Payload will be stored and executed when visiting &#8220;\/admin\/v_users.php&#8221;<\/p>\n<pre dir=\"ltr\"><code><\/code><\/pre>\n<p dir=\"ltr\">\n<pre dir=\"ltr\"><code><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p># Exploit Title: Crime reporting system &#8211; Stored cross-site scripting (XSS) # Date: 29\/07\/2022 # Exploit Author: Eslam Reda # Vendor Homepage: https:\/\/sourcecodehero.com\/crime-reporting-system-project-in-php-with-source-code\/ # Software Link: https:\/\/sourcecodehero.com\/\/wp-content\/uploads\/2022\/03\/Crime-Reporting-System-Project-in-PHP-with-source-code.zip # Version: v1.0 # Tested on: Linux\/Windows 1. Login to the application &#8220;the default credentials are username:jude &#8211; password:12345&#8221;, go to add users &#8220;\/admin\/a_users.php&#8221;. 2. Fill in the &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-28575","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/28575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=28575"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/28575\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=28575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=28575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=28575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}