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

BOINC Website Vulnerability #2907

Closed
TheAspens opened this issue Dec 11, 2018 · 1 comment
Closed

BOINC Website Vulnerability #2907

TheAspens opened this issue Dec 11, 2018 · 1 comment

Comments

@TheAspens
Copy link
Member

A vulnerability has been identified that will allow any user to create a specially crafted request and obtain the authenticator of any user of the system.

This vulnerability was added to the master branch on October 25, 2018 as part of merge commit 4198df0. It was fixed in the master branch on December 7th, 2018 as part of merge commit 1af5ecf.

The vulnerability was also present in server releases 1.0.0, 1.0.1 and 1.0.2 and is fixed in server release 1.0.3 (see https://github.com/BOINC/boinc/releases). It was not present in earlier versioned releases.

Projects who updated their website between October 25th, 2018 and December 7th, 2018 are strongly urged to update their website as soon as possible or to implement the workaround described below.

Thank you to Juha Sointusalo for identifying the vulnerability and thank you to Shawn Kwang for implementing the fix.

How Projects Can Check if Vulnerable:

If the file {PROJECT_DIR}/html/user/user_agreetermsofuse_action.php is not present, then you are not vulnerable.

If it is present, then run the following command from your project directory:

grep logintoken html/user/user_agreetermsofuse_action.php | wc -l

If it returns 0, then your project is vulnerable. If it returns something greater than or equal to 1, then your project has the fix.

Mitigation:

If you are not able to update your website immediately, then you can remove the risk by deleting the file:

{PROJECT_DIR}/html/user/user_agreetermsofuse_action.php

Since this will break the user consent code, then you need to set enable_login_mustagree_termsofuse to 0 in conflig.xml until you are able to update your website.

See https://boinc.berkeley.edu/trac/wiki/GdprCompliance for details about this setting.

@TheAspens
Copy link
Member Author

This was fixed by #2890

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

No branches or pull requests

1 participant