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

Reflected / Stored XSS - CVE-2022-47968 #1086

Closed
iodn opened this issue Dec 27, 2022 · 8 comments · Fixed by #1088
Closed

Reflected / Stored XSS - CVE-2022-47968 #1086

iodn opened this issue Dec 27, 2022 · 8 comments · Fixed by #1088

Comments

@iodn
Copy link

iodn commented Dec 27, 2022

Hello Team,

Found a reflected XSS in the "Add application" page. It is possible to inject JavaScript code in the "Application name" input.

step1 xss

step2 xss

Not a big deal I guess but still wanted to warn about it.

Edit: Found in version 2.5.4

@keriati
Copy link
Collaborator

keriati commented Dec 28, 2022

Nice one, thanks.

@iodn
Copy link
Author

iodn commented Dec 28, 2022

Update, this is actually a stored XSS, the JavaScript code can be saved and executed when a user visit the page "Application list".

Capture

Screenshot from 2022-12-28 22-07-49_cleanup

@iodn iodn changed the title Reflected XSS Reflected - Stored XSS Dec 28, 2022
@iodn iodn changed the title Reflected - Stored XSS Reflected / Stored XSS - CVE-2022-47968 Dec 28, 2022
@keriati
Copy link
Collaborator

keriati commented Dec 28, 2022

I try to prepare a fix. Note that there is actually a feature to store javascript that gets executed on the page 🤷

@iodn
Copy link
Author

iodn commented Dec 28, 2022

That's true, in that case should we consider this as an extended feature?

@keriati
Copy link
Collaborator

keriati commented Dec 29, 2022

Probably as a bug, not sure if it qualifies for a CVE...

@iodn
Copy link
Author

iodn commented Dec 29, 2022

Well... a bug could be considered as a flaw or vulnerability in the software or hardware design that can be potentially exploited by the attackers. These security bugs can be used to exploit various vulnerabilities by compromising – user authentication, authorization of access rights and privileges, data confidentiality, and data integrity.

(https://netenrich.com/glossary/bug)

@keriati
Copy link
Collaborator

keriati commented Jan 9, 2023

@iodn a fix was released now in v2.5.5, please double check if you have time. If you find anything else feel free to report.

@iodn
Copy link
Author

iodn commented Jan 9, 2023

I've checked the new version this morning and it seems to be fixed!

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

Successfully merging a pull request may close this issue.

2 participants