{"id":"CVE-2013-1831","aliases":["EUVD-2022-5846","GHSA-xr24-jp5c-6c4v","UBUNTU-CVE-2013-1831"],"status":"published","title":"Moodle reveals absolute path in exception message","description":"lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01604,"percentile":0.76026,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-200"],"published":"2013-03-11T04:00:00Z","modified":"2026-09-23T18:45:33Z","fixes":[{"ecosystem":"Packagist","package":"moodle/moodle","fixed_in":["2.2.8","2.3.5","2.4.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.1.10"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.8"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.5"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.2"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"2.1.10"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.0"},{"fixed":"2.2.8"}]}]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.5"}]}],"versions":["v2.3.4"]},{"source":"osv","ecosystem":"Packagist","package":"moodle/moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.4.0"},{"fixed":"2.4.2"}]}],"versions":["v2.4.0","v2.4.1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.7.9+dfsg-1","2.7.10+dfsg-1","2.7.11+dfsg-1","2.7.11+dfsg-2","2.7.12+dfsg-1","3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"moodle","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.0.3+dfsg-0ubuntu1","3.0.3+dfsg-0ubuntu1+esm1"]}],"products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101358.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2013-April/101310.html","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred","web"]},{"url":"http://openwall.com/lists/oss-security/2013/03/25/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-36901","tags":["x_refsource_CONFIRM","x_transferred","Patch","web"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=225342","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1831","tags":["advisory"]},{"url":"https://github.com/moodle/moodle/commit/2c7cdbb3b0b6ba4dd64297463d37a5acbd730216","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/53c66110a878f4f4644728138ea97c22990263e3","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/8d220cb552d9c55b98aef70e2f40ef560efeb79b","tags":["web"]},{"url":"https://github.com/moodle/moodle/commit/b3daaada49a2dd83a4f1e832465d5c318f9f275c","tags":["web"]},{"url":"https://github.com/advisories/GHSA-xr24-jp5c-6c4v"},{"url":"https://github.com/moodle/moodle","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2013-1831","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1831","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2013-1831","description":"lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.","status":"published","published":"2013-03-25T21:00:00Z","modified":"2024-08-06T15:13:33.271Z","updated_at":"2026-11-02T14:34:58.534075Z"}],"euvd":[{"id":"EUVD-2022-5846","description":"lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.","status":"published","published":"2013-03-25T21:00:00Z","modified":"2024-08-06T15:13:33Z","updated_at":"2026-11-03T01:56:40.540333Z"}],"ghsa":[{"id":"GHSA-xr24-jp5c-6c4v","title":"Moodle reveals absolute path in exception message","description":"lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.","status":"published","published":"2022-05-13T01:12:57Z","modified":"2024-01-22T15:58:13Z","cwes":["CWE-200"],"updated_at":"2026-11-02T14:37:31.550603Z"}],"nvd":[{"id":"CVE-2013-1831","description":"lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.","status":"published","published":"2013-03-25T21:55:02.74Z","modified":"2026-06-16T23:52:12.2Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-200"],"updated_at":"2026-11-02T14:02:24.091325Z"}],"osv":[{"id":"GHSA-xr24-jp5c-6c4v","title":"Moodle reveals absolute path in exception message","description":"lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.","status":"published","published":"2022-05-13T01:12:57Z","modified":"2024-12-05T05:38:39.182548Z","cwes":["CWE-200"],"updated_at":"2026-11-02T15:47:00.198893Z"},{"id":"UBUNTU-CVE-2013-1831","description":"lib/setuplib.php in Moodle through 2.1.10, 2.2.x before 2.2.8, 2.3.x before 2.3.5, and 2.4.x before 2.4.2 allows remote attackers to obtain sensitive information via an invalid request, which reveals the absolute path in an exception message.","status":"published","published":"2013-03-11T04:00:00Z","modified":"2026-09-23T18:45:33.893742619Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
