mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #09982
[Bug 785467] Re: [Ongoing] Tainted data should be handled more carefully
** Changed in: mahara
Status: Triaged => In Progress
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/785467
Title:
[Ongoing] Tainted data should be handled more carefully
Status in Mahara ePortfolio:
In Progress
Bug description:
There are two types of data that Mahara manipulates directly: images
and compressed files.
Images are resized using PHP libraries (running as the Apache user)
and zip files / tarballs are uncompressed through PHP libraries (in
the case of Leap) or through shelling out to run unzip.
The problem with this is that this untrusted user data could
potentially contain exploits which would take over the web server
process and potentially write to / delete the dataroot or the
database.
Ideally, we should have the current insecure file manipulation mode
for people on shared hosting or Windows as well as a more secure mode
where tainted data is handled in a separate process and by an
unprivileged and separate user account.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/785467/+subscriptions
References