Every CVE Search/ Get API key

CVE-2013-1831

Moodle reveals absolute path in exception message

5.0 MediumFix available

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.

Exploit likelihood

1.60%Up 0.4 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.0

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.

Record
CVE-2013-1831
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2013-1831
Updated
2026-11-02
EUVDEUVD-2022-5846 No score

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.

Record
EUVD-2022-5846
Updated
2026-11-03
GitHub AdvisoriesGHSA-xr24-jp5c-6c4v No score

Moodle reveals absolute path in exception message

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.

Record
GHSA-xr24-jp5c-6c4v
Weakness
CWE-200
Updated
2026-11-02
OSVGHSA-xr24-jp5c-6c4v No score

Moodle reveals absolute path in exception message

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.

Record
GHSA-xr24-jp5c-6c4v
Weakness
CWE-200
Updated
2026-11-02
OSVUBUNTU-CVE-2013-1831 No score

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.

Record
UBUNTU-CVE-2013-1831
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
moodle/moodle
Packagist
through 2.1.10 None known
moodle/moodle
Packagist
2.2.0 up to 2.2.8
2.2.8
moodle/moodle
Packagist
2.3.0 up to 2.3.5
2.3.5
moodle/moodle
Packagist
2.4.0 up to 2.4.2
2.4.2
moodle/moodle
Packagist
2.3.0 up to 2.3.5, plus listed versions
v2.3.4
2.3.5
moodle/moodle
Packagist
2.4.0 up to 2.4.2, plus listed versions
v2.4.0v2.4.1
2.4.2
moodle
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
2.7.9+dfsg-12.7.10+dfsg-12.7.11+dfsg-12.7.11+dfsg-22.7.12+dfsg-13.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1
None known
moodle
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
3.0.3+dfsg-0ubuntu13.0.3+dfsg-0ubuntu1+esm1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2013-1831 is a medium vulnerability (CVSS 5.0) in Moodle, published March 11, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.60%, the 76th percentile. Fixed in moodle/moodle 2.2.8.

References

Show 8 moreShow less
MoveEnter Open