Yourls 1.7 Cross Site Scripting

2014-10-28 / 2015-04-19
Credit: Alvaro Diaz
Risk: Low
Local: No
Remote: Yes
CWE: CWE-79


CVSS Base Score: 4.3/10
Impact Subscore: 2.9/10
Exploitability Subscore: 8.6/10
Exploit range: Remote
Attack complexity: Medium
Authentication: No required
Confidentiality impact: None
Integrity impact: Partial
Availability impact: None

Hello, I found a xss stored vulnerability in Yourls 1.7 script (latest version). The attacker can steal the admin's cookies and login in the admin panel. Note: Only the admin can see this. Steps to perform the vulnerability: 1. Create a new url to shorten --> In the inputs you need write this payload --> anything"><img src=x onerror=prompt(1)>* * Javascript code to inject. 2. Click in the button "Shorten" 3. Wait until the administrator logs in the admin panel Screenshoots: 1. http://i.imgur.com/G4r6uV0.png 2. http://i.imgur.com/jhGR4n2.png 3. http://i.imgur.com/gQYSqgt.png Thank You, Kind Regards.


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top