Page MenuHomePhabricator

Security Auditing for LimeSurvey (for the benefit of all installations like WMI-LimeSurvey)
Open, MediumPublic



Just after landing the WMI LimeSurvey initiative (T274837) in an attempt to be pro-active and propose solid Free software solutions for Wikimedia contributors, an user raised a concern about the security of the LimeSurvey software itself:

Security issues were found the previous two times wmf looked at from my understanding and that was without doing a full security review process....
― K. Peachey

This is not a comment we should underestimate. For example ~5 years ago the Wikimedia Foundation didn't adopt LimeSurvey also for that reason (T109606: Re-evaluate Limesurvey ) and for the same reasons many other entities may adopt proprietary software like Qualtrics or Google Form, relying on the excuse of not having any credible alternative available (although there are QuickSurvey and nextCloud Forms which may be more audited - irrelevant topic - but that anyway are not as complete as LimeSurvey and they don't try to be).

Proposed solution

Do security auditing on LimeSurvey.

This security auditing will assure a valid alternative to Qualtrics, Google Forms or any other proprietary software, service, or Service as a Software Sobstitute may be born in the morning promising breathtaking safety thanks to the (questionable) arguments raised from these companies relying on security through obscurity.

This means:

In the meanwhile I can make sure that Wikimedia Italia will reward anyone who finds any security bug in their WMI-LimeSurvey instance to promote healthy cooperation for a better Internet.

WARNING: I remind that, anyhow, any unauthorized access to a computer system is punished also by the Italian legislative system, and up to three years in prison. So, if you are able to break Wikimedia Italia security measures, you are not automagically authorized to download all the administrators' emails and post them on social networks to then ask a biscuit in return from Wikimedia Italia for your magical services.

Event Timeline

Here are some sample relevant links from a quick research on LimeSurvey and code injection:

I didn't go in deep details, nor width spectrum but a high level overview seem to indicate that LimeSurvey do have code injection vulnerabilities points (XSS, SQL…) appearing in its code base here and there from time to time. That's not great, but not unusual in software industry and reveals more an improvable development/review/test process than a total lake of concern for the subject of security. On the contrary, the maintainers seem to take the reported bugs in considerations and seem to fix them (stats on median time to fix a security bug would be nice, but would require more time than I had to throw at it for now). The official bug tracker also have an option to pay for treating a bug, which seems to indicate a rather mature professional environment to back specific demands.

I didn't found any relevant reference about a report opened by the WMF it in the bug tracker (looking for terms like Wikipedia, Wikimedia and WMF). So it would be good if Tim Starling could give us more feedback on that point, as according to Philippe Beaudette it's the person who found the vulnerabilities and stashed the tool out of the Wikimedia software stack for understable security reasons. Feel free to ping them here if you know they have some account on Phabricator.