VDB

CVE-2013-1831

CVE-2013-1831 PUBLISHED CVSS 5 MEDIUM

Moodle reveals absolute path in exception message

Reported by redhat · Published March 25, 2013

moodle/moodle is fixed in 2.4.2, 2.3.5, 2.2.8 and 1 more (Packagist)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
moodle/moodlePackagist2.4.2, 2.3.5, 2.2.8, 2.1.10

Risk scores

CVSS 2.0
5

Affected products

VendorProductVersions
n/an/an/a
n/an/a*
moodlemoodle0, 2.2.0, 2.3.0

Timeline

  • Mar 11, 2013 CVE Published
  • Feb 4, 2022 EPSS Score (30 in total, the first dated here)
  • Oct 24, 2025 CVE Updated
  • Mar 17, 2026 Security Advisory
  • Oct 24, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2013-1831
vulnetix vdb fixes CVE-2013-1831

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-1831/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›