Moodle Double-Caches Content, Potentially Writing to a File System's Tmp Directory
Impact
The theme implementation in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 triggers duplicate caching of Cascading Style Sheets (CSS) and JavaScript content, which allows remote attackers to bypass intended access restrictions and write to an operating-system temporary directory via unspecified vectors.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
| Affected range | Recorded fix |
|---|---|
| From 2.0 before 2.0.4Ecosystem versions | 2.0.4 |
| From 2.1 before 2.1.1Ecosystem versions | 2.1.1 |
Version evidence: OSV · GHSA-wxvp-8q8h-r6rr
View original version evidence (0 explicit versions)
Original source description
The theme implementation in Moodle 2.0.x before 2.0.4 and 2.1.x before 2.1.1 triggers duplicate caching of Cascading Style Sheets (CSS) and JavaScript content, which allows remote attackers to bypass intended access restrictions and write to an operating-system temporary directory via unspecified vectors.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2011-4293
- Patch github.com/moodle/moodle/commit/05f4555422278190ec24a88466ac43c914a7e5d6
- Patch github.com/moodle/moodle/commit/9a380fbb53429713b3c422a3146456dc97205329
- Patch github.com/moodle/moodle/commit/e1c2a211f259821910be2cba23679d4176fb00a3
- Source reference github.com/moodle/moodle
- Source reference git.moodle.org/gw
- Source reference moodle.org/mod/forum/discuss.php
- Security advisory openwall.com/lists/oss-security/2011/11/14/1