{"id":"CVE-2015-3272","aliases":["EUVD-2022-1995","GHSA-2hw2-h3mf-c2j9","MGASA-2015-0302","UBUNTU-CVE-2015-3272"],"status":"published","title":"Moodle open redirect vulnerability","description":"Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.","severity":{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.01849,"percentile":0.7922,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2015-08-03T20:55:18Z","modified":"2026-06-17T00:25:38Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.7.9","2.8.7","2.9.1"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.9"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.7"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.1"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.9"}]}],"versions":["v2.7.0","v2.7.1","v2.7.2","v2.7.3","v2.7.4","v2.7.5","v2.7.6","v2.7.7","v2.7.8"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.7"}]}],"versions":["v2.8.0","v2.8.1","v2.8.2","v2.8.3","v2.8.4","v2.8.5","v2.8.6"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.9.0"},{"fixed":"2.9.1"}]}],"versions":["v2.9.0"]},{"source":"osv","ecosystem":"Mageia:5","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.7-1.mga5"}]}],"bundled":3}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"https://moodle.org/mod/forum/discuss.php?d=316662","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"http://openwall.com/lists/oss-security/2015/07/13/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-50688","tags":["x_refsource_CONFIRM","x_transferred","web","report"]},{"url":"http://www.securitytracker.com/id/1032877","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-3272","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/5673aae914070fa93b861a39f6bb3eae2f79bbc2","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/5c1f41f0583e9174ead1530f93dc4b260d8036d5","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/9580c08e9e4e5e80606d46aea2014f83f863534f","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/980bd08bdc01586bf8b5d407b049645ea6ff1174","tags":["web"]},{"url":"https://web.archive.org/web/20150924032214/http://www.securitytracker.com/id/1032877","tags":["web"]},{"url":"https://github.com/advisories/GHSA-2hw2-h3mf-c2j9"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2015-0302.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=16374","tags":["report"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=316664","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=316665","tags":["web"]},{"url":"https://docs.moodle.org/dev/Moodle_2.8.7_release_notes","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=316289","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-3272","tags":["report"]},{"url":"http://www.openwall.com/lists/oss-security/2015/07/13/2","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-3272","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-3272","description":"Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.","status":"published","published":"2016-02-22T02:00:00Z","modified":"2024-08-06T05:39:32.14Z","updated_at":"2026-11-02T14:35:42.331636Z"}],"euvd":[{"id":"EUVD-2022-1995","description":"Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.","status":"published","published":"2016-02-22T02:00:00Z","modified":"2024-08-06T05:39:32Z","updated_at":"2026-11-03T02:22:08.642556Z"}],"ghsa":[{"id":"GHSA-2hw2-h3mf-c2j9","title":"Moodle open redirect vulnerability","description":"Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.","status":"published","published":"2022-05-13T01:12:46Z","modified":"2024-01-26T01:14:10Z","cvss":[{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T14:37:33.019154Z"}],"nvd":[{"id":"CVE-2015-3272","description":"Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.","status":"published","published":"2016-02-22T05:59:00.117Z","modified":"2026-06-17T00:25:38.943Z","cvss":[{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:03:15.746629Z"}],"osv":[{"id":"GHSA-2hw2-h3mf-c2j9","title":"Moodle open redirect vulnerability","description":"Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.","status":"published","published":"2022-05-13T01:12:46Z","modified":"2024-12-08T05:34:41.743206Z","cvss":[{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:46:34.338541Z"},{"id":"UBUNTU-CVE-2015-3272","description":"Open redirect vulnerability in the clean_param function in lib/moodlelib.php in Moodle through 2.6.11, 2.7.x before 2.7.9, 2.8.x before 2.8.7, and 2.9.x before 2.9.1 allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via vectors involving an HTTP Referer header that has a substring match with a local URL.","status":"withdrawn","published":"2016-02-22T05:59:00Z","modified":"2025-07-16T08:11:30.034987Z","cvss":[{"version":"3.0","score":7.4,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T15:54:10.045446Z"},{"id":"MGASA-2015-0302","title":"Updated moodle package fixes security vulnerabilities","description":"In Moodle before 2.8.7, phishing is possible when redirecting to external\nsite using referer headers in error messages (CVE-2015-3272).\n\nIn Moodle before 2.8.7, several web services returning user information\ndid not clean text in text custom profile fields, leading to possible XSS\n(CVE-2015-3274).\n\nIn Moodle before 2.8.7, possible Javascript injection was discovered in\nthe SCORM module (CVE-2015-3275).\n\nAs Moodle 2.6 is no longer supported, users of this package on Mageia 4\nare advised to migrate to Mageia 5.\n","status":"published","published":"2015-08-03T20:55:18Z","modified":"2026-04-16T06:24:43.877201253Z","updated_at":"2026-11-02T15:49:39.792687Z"}]}}
