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

Cross Site Scripting (Stored) vulnerability #1254

Closed
aegisduck opened this issue Nov 12, 2019 · 1 comment
Closed

Cross Site Scripting (Stored) vulnerability #1254

aegisduck opened this issue Nov 12, 2019 · 1 comment

Comments

@aegisduck
Copy link

Describe the bug

Suggested description of the vulnerability

: A stored cross-site scripting (XSS) vulnerability in the 'Add Asset' page of Screenly-OSE allows a remote attacker to introduce arbitary Javascript via manipulation of a 'URL' filed.

Attack vector(s)

1
 1. Press the 'Add Asset' button in the upper right corner.

2
 2. Enter https://www.google.com/?<img src=xss onerror=alert(document.domain)> in the 'Asset URL' field.

3
 3. When accessing the main page ('Schedule Overview' menu), arbitrary code is executed.
(The same vulnerability occurs when uploading to a file other than a URL.)

Affected URL/API(s)

/api/v1.2/assets

Environment

  • Raspberry Pi Hardware Version: Model 3B+ Revision: 1.3 Ram: 1 GB Sony UK
  • Screenly OSE Version: 2019-09-25-Screenly-OSE-lite.img
@vpetersson
Copy link
Contributor

Good find! Adding this to the next sprint.

@vpetersson vpetersson added this to To do in Sprint 12 (upcoming) via automation Nov 12, 2019
Sprint 12 (upcoming) automation moved this from To do to Done Nov 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants