CVE-2013-1831 json
Moodle reveals absolute path in exception message
published 13y ago modified 4mo ago also GHSA-xr24-jp5c-6c4v , EUVD-2022-5846
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.6%
- EPSS 1.6% chance of exploitation in 30 days, percentile 76%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist moodle/moodle 2.2.8, 2.3.5, 2.4.2
Is CVE-2013-1831 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-1831 updated cvss 4.0
moodle: Server information revealed through exception messages (MSA-13-0013)
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.60% chance of exploitation in the next 30 days, higher than 76% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | moodle/moodle | <=2.1.10 >=2.2.0, <2.2.8 >=2.3.0, <2.3.5 >=2.4.0, <2.4.2 |
2.2.8 2.3.5 2.4.2 |
Classification
- Weakness
-
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
References
-
git.moodle.org
/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-36901
web, patch
-
github.com
/moodle/moodle/commit/2c7cdbb3b0b6ba4dd64297463d37a5acbd730216
web
-
github.com
/moodle/moodle/commit/53c66110a878f4f4644728138ea97c22990263e3
web
-
github.com
/moodle/moodle/commit/8d220cb552d9c55b98aef70e2f40ef560efeb79b
web
-
github.com
/moodle/moodle/commit/b3daaada49a2dd83a4f1e832465d5c318f9f275c
web
-
lists.fedoraproject.org
/pipermail/package-announce/2013-April/101358.html
vendor-advisory, web
-
lists.fedoraproject.org
/pipermail/package-announce/2013-April/101310.html
vendor-advisory, web
-
openwall.com
/lists/oss-security/2013/03/25/2
mailing-list, web
-
moodle.org
/mod/forum/discuss.php?d=225342
web
-
nvd.nist.gov
/vuln/detail/CVE-2013-1831
advisory
-
github.com
/moodle/moodle
package
Sources
- CVE List CVE-2013-1831
- GitHub Advisory GHSA-xr24-jp5c-6c4v
- NVD CVE-2013-1831
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.