{"id":"CVE-2015-1493","aliases":["EUVD-2022-3985","GHSA-gphj-63h8-r9vq","MGASA-2015-0057","UBUNTU-CVE-2015-1493"],"status":"published","title":"Moodle directory traversal vulnerability","description":"Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:L/Au:S/C:C/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02619,"percentile":0.85546,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-22"],"published":"2015-02-09T21:44:14Z","modified":"2026-06-17T00:22:31Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.6.8","2.7.5","2.8.3"],"sources":["ghsa","osv"]},{"ecosystem":"Mageia:4","package":"moodle","fixed_in":["2.6.8-1.mga4"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.8"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.3"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.8"}]}],"versions":["v2.3.10","v2.3.11","v2.3.4","v2.3.5","v2.3.6","v2.3.7","v2.3.8","v2.3.9","v2.4.0","v2.4.0-rc1","v2.4.1","v2.4.10","v2.4.11","v2.4.2","v2.4.3","v2.4.4","v2.4.5","v2.4.6","v2.4.7","v2.4.8","v2.4.9","v2.5.0","v2.5.0-beta","v2.5.0-rc1","v2.5.1","v2.5.2","v2.5.3","v2.5.4","v2.5.5","v2.5.6","v2.5.7","v2.5.8","v2.5.9","v2.6.0","v2.6.0-beta","v2.6.0-rc1","v2.6.1","v2.6.2","v2.6.3","v2.6.4","v2.6.5","v2.6.6","v2.6.7"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.7.0"},{"fixed":"2.7.5"}]}],"versions":["v2.7.0","v2.7.1","v2.7.2","v2.7.3","v2.7.4"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.8.0"},{"fixed":"2.8.3"}]}],"versions":["v2.8.0","v2.8.1","v2.8.2"]},{"source":"osv","ecosystem":"Mageia:4","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.8-1.mga4"}]}]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://openwall.com/lists/oss-security/2015/02/09/2","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2015/02/04/15","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=af9a7937cc085f96bdbc4724cadec6eeae0242fc","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-48980","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=279956","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-1493","tags":["advisory"]},{"url":"http://git.moodle.org/gw?p=moodle.git;a=commit;h=af9a7937cc085f96bdbc4724cadec6eeae0242fc","tags":["web","report"]},{"url":"https://github.com/moodle/moodle/commit/0289be1321babfa588fb5b18ebb08a296eed9eee","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/a72f2cca7f08c354c18a3923c3f05eee50bdd434","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/af9a7937cc085f96bdbc4724cadec6eeae0242fc","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/cc496f5b27d36a8df4bcede997a484eb9719363b","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gphj-63h8-r9vq"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2015-0057.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=15244","tags":["report"]},{"url":"https://docs.moodle.org/dev/Moodle_2.6.8_release_notes","tags":["web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=279502","tags":["web"]},{"url":"http://openwall.com/lists/oss-security/2015/02/09/5","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2015-1493","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-1493","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2015-1493","description":"Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.","status":"published","published":"2015-06-01T19:00:00Z","modified":"2024-08-06T04:47:16.878Z","updated_at":"2026-11-02T14:35:44.046042Z"}],"euvd":[{"id":"EUVD-2022-3985","description":"Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.","status":"published","published":"2015-06-01T19:00:00Z","modified":"2024-08-06T04:47:16Z","updated_at":"2026-11-03T02:22:15.089401Z"}],"ghsa":[{"id":"GHSA-gphj-63h8-r9vq","title":"Moodle directory traversal vulnerability","description":"Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.","status":"published","published":"2022-05-13T01:12:45Z","modified":"2024-01-25T20:51:30Z","cwes":["CWE-22"],"updated_at":"2026-11-02T14:37:32.302254Z"}],"nvd":[{"id":"CVE-2015-1493","description":"Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.","status":"published","published":"2015-06-01T19:59:08.603Z","modified":"2026-06-17T00:22:31.527Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:L/Au:S/C:C/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:03:04.906059Z"}],"osv":[{"id":"GHSA-gphj-63h8-r9vq","title":"Moodle directory traversal vulnerability","description":"Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.","status":"published","published":"2022-05-13T01:12:45Z","modified":"2024-12-08T06:01:49.887775Z","cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:48.191583Z"},{"id":"MGASA-2015-0057","title":"Updated moodle packages fix CVE-2015-1493","description":"Updated moodle package fixes security vulnerability:\n\nIn Moodle before 2.6.8, parameter \"file\" passed to scripts serving JS was not\nalways cleaned from including \"../\" in the path, allowing to read files\nlocated outside of moodle directory. All OS's are affected, but especially\nvulnerable are Windows servers (CVE-2015-1493).\n","status":"published","published":"2015-02-09T21:44:14Z","modified":"2026-04-16T06:25:33.111998621Z","updated_at":"2026-11-02T15:49:39.488462Z"},{"id":"UBUNTU-CVE-2015-1493","description":"Directory traversal vulnerability in the min_get_slash_argument function in lib/configonlylib.php in Moodle through 2.5.9, 2.6.x before 2.6.8, 2.7.x before 2.7.5, and 2.8.x before 2.8.3 allows remote authenticated users to read arbitrary files via a .. (dot dot) in the file parameter, as demonstrated by reading PHP scripts.","status":"withdrawn","published":"2015-06-01T19:59:00Z","modified":"2025-07-16T08:11:24.852515Z","updated_at":"2026-11-02T15:54:09.721803Z"}]}}
