CVE-2013-4522
Moodle vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
Exploit likelihood
What each source reports
NVD Score used
5.0
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
- Record
CVE-2013-4522- CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:P/I:N/A:N - Weakness
- CWE-200
- Updated
- 2026-11-02
CVE List No score
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
- Record
CVE-2013-4522- Updated
- 2026-11-02
EUVDEUVD-2013-4381 No score
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
- Record
EUVD-2013-4381- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vm9c-39jx-q45w
6.9
Moodle vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
- Record
GHSA-vm9c-39jx-q45w- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSVGHSA-vm9c-39jx-q45w
6.9
Moodle vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
- Record
GHSA-vm9c-39jx-q45w- CVSS 4.0
- 6.9 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N - Weakness
- CWE-200
- Updated
- 2026-11-02
OSVMGASA-2013-0356 No score
Updated moodle package fixes security vulnerabilities
Some files were being delivered with incorrect headers in Moodle before 2.4.7, meaning they could be cached downstream (CVE-2013-4522).
Cross-site scripting in Moodle before 2.4.7 due to JavaScript in messages being executed on some pages (CVE-2013-4523).
The file system repository in Moodle before 2.4.7 was allowing access to files beyond the Moodle file area (CVE-2013-4524).
Cross-site scripting in Moodle before 2.4. due to JavaScript in question answers being executed on the Quiz Results page (CVE-2013-4525).
- Record
MGASA-2013-0356- Updated
- 2026-11-02
OSVUBUNTU-CVE-2013-4522 No score
lib/filelib.php in Moodle through 2.2.11, 2.3.x before 2.3.10, 2.4.x before 2.4.7, and 2.5.x before 2.5.3 does not send "Cache-Control: private" HTTP headers, which allows remote attackers to obtain sensitive information by requesting a file that had been previously retrieved by a caching proxy server.
- Record
UBUNTU-CVE-2013-4522- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
moodle/moodlePackagist |
before 2.3.10 | 2.3.10 |
moodle/moodlePackagist |
2.4.0-beta up to 2.4.7 | 2.4.7 |
moodle/moodlePackagist |
2.5.0-beta up to 2.5.3 | 2.5.3 |
moodle/moodlePackagist |
before 2.3.10, plus listed versions v2.3.4v2.3.5v2.3.6v2.3.7v2.3.8v2.3.9 |
2.3.10 |
moodle/moodlePackagist |
2.4.0-beta up to 2.4.7, plus listed versions v2.4.0v2.4.0-rc1v2.4.1v2.4.2v2.4.3v2.4.4v2.4.5v2.4.6 |
2.4.7 |
moodle/moodlePackagist |
2.5.0-beta up to 2.5.3, plus listed versions v2.5.0v2.5.0-betav2.5.0-rc1v2.5.1v2.5.2 |
2.5.3 |
moodleMageia:3 From an advisory covering 4 CVEs |
before 2.4.7-1.mga3 | 2.4.7-1.mga3 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2013-4522 is a medium vulnerability (CVSS 5.0) in Moodle, published November 26, 2013. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.54%, the 75th percentile. Fixed in moodle/moodle 2.3.10.
References
git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-38743
moodle.org/mod/forum/discuss.php?d=244479
openwall.com/lists/oss-security/2013/11/25/1
nvd.nist.gov/vuln/detail/CVE-2013-4522
github.com/moodle/moodle/commit/d0041fb110201d3dc1a4546eca8b6108b440d1c5
github.com/advisories/GHSA-vm9c-39jx-q45w
Show 10 moreShow less
github.com/moodle/moodle
advisories.mageia.org/MGASA-2013-0356.html
bugs.mageia.org/show_bug.cgi?id=11671
moodle.org/mod/forum/discuss.php?d=244480
moodle.org/mod/forum/discuss.php?d=244481
moodle.org/mod/forum/discuss.php?d=244482
docs.moodle.org/dev/Moodle_2.4.7_release_notes
moodle.org/mod/forum/discuss.php?d=243213
ubuntu.com/security/CVE-2013-4522
cve.org/CVERecord?id=CVE-2013-4522