mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #09733
[Bug 1009774] Re: Links & resources urls are unsanitised
The final patch for this is at https://reviews.mahara.org/#/c/1451/
** Visibility changed to: Public
** This bug is no longer flagged as a security vulnerability
** Changed in: mahara
Assignee: (unassigned) => Melissa Draper (melissa)
** Changed in: mahara
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1009774
Title:
Links & resources urls are unsanitised
Status in Mahara ePortfolio:
Fix Released
Bug description:
Discovered by Emanuel Bronshtein. Present in all versions, requires an
admin account.
Configure site -> Menus -> Add External Link:
http://localhost/mahara-1.5.1/mahara-1.5.1/htdocs/admin/site/menu.php
Add new Link:
Name: XSS
Linked to: javascript:alert(location)
click "Add".
...
fix: Allow only whitelisted protocols (http,https,mailto).
The sanitize_url function should be used for this.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1009774/+subscriptions