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

[Security] XSS in application/controllers/dropbox.php #106

Open
seongil-wi opened this issue Sep 17, 2021 · 0 comments
Open

[Security] XSS in application/controllers/dropbox.php #106

seongil-wi opened this issue Sep 17, 2021 · 0 comments

Comments

@seongil-wi
Copy link

seongil-wi commented Sep 17, 2021

Describe the bug/issue

  • Reflected Cross-Site Scripting (XSS) may allow an attacker to execute JavaScript code in the context of the victim’s browser.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the following link: http://[server]/sync/dropbox/download?challenge=%3Cscript%3Ealert(1)%3C/script%3E
  2. Boom!

Where the vulnerability occurred?
The code below displays the user-controlled parameter challenge in application/controllers/dropbox.php with incorrect sanitization:

echo $_GET['challenge'];exit;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant