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] - Stored Cross-site Scripting vulnerability at 2 places in Recon Todo! #453

Closed
TheBinitGhimire opened this issue Aug 19, 2021 · 2 comments
Labels
Security Security related issues Work in Progress Working

Comments

@TheBinitGhimire
Copy link
Contributor

Issue Summary

In the latest version of reNgine (v1.0), there is Stored Cross-site Scripting vulnerability at two places (Todo Title and Recon Todo/Note) at /recon_note/list_note.

Steps to Reproduce

  1. Visit your instance of reNgine, login to it, and then visit /recon_note/list_note.
  2. Click on "New Task" and write <img src=binit onerror="alert('XSSed by Binit at '+document.location)"> in Todo Title and Recon Todo/Note fields.
  3. Click on the "Add Task" button, and when the task is added, you should now see our JavaScript getting executed.

To verify whether it is stored or not, visit the endpoint again, and you will see that the payload is again executed.

  • I have confirmed that this issue can be reproduced as described on a latest version/pull of reNgine: yes

Technical details

  • Debian 4.19.181-1
@TheBinitGhimire
Copy link
Contributor Author

Hi there,

In this response, I am providing the suitable screenshots for Proof-of-Concept.

Why is it happening?

image

Execution in Action

image

Thanks,
Binit Ghimire

@TheBinitGhimire
Copy link
Contributor Author

Hi there,

Here is some more important information on this issue! You just have to put Recon Note/Todo for a certain scan, and this can be reproduced.

[IMPORTANT]

This vulnerability also affects the Scan Details page at /scan/detail/{id}.

image

Thanks,
Binit Ghimire

@yogeshojha yogeshojha added Security Security related issues Work in Progress Working labels Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Security Security related issues Work in Progress Working
Projects
None yet
Development

No branches or pull requests

2 participants