CVE-2011-4280
medium
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
5.3
Description
Moodle vulnerable to XSS via bundled spikephpcoverage library
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Exploits
Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.
Exploit-DB
Moodle 2.0.1 - 'PHPCOVERAGE_HOME' Cross-Site Scripting
source: https://www.securityfocus.com/bid/46085/info
Moodle is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.
Exploiting this vulnerability may allow an attacker to perform cross-site scripting attacks on unsuspecting users in the context of the affected website. As a result, the attacker may be able to steal cookie-based authentication credentials and to launch other attacks.
Versions prior to Moodle 2.0.1 are vulnerable.
http://www.example.com/moodle/lib/spikephpcoverage/src/phpcoverage.remote.top.inc.php?PHPCOVERAGE_HOME=[xss]
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | moodle/moodle | >=2.0,<2.0.2 | 2.0.2 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| moodle | moodle | 2.0.0 | |
| moodle | moodle | 2.0.1 | |
| nimish_pachapurkar | spike_phpcoverage | | |
References
- http://git.moodle.org/gw?p=moodle.git%3Ba=commit%3Bh=bd654f0ced8af925c27b7c94321f0c299b50b38e
- http://moodle.org/mod/forum/discuss.php?d=170005
- http://openwall.com/lists/oss-security/2011/11/14/1
- https://nvd.nist.gov/vuln/detail/CVE-2011-4280
- https://github.com/moodle/moodle/commit/bd654f0ced8af925c27b7c94321f0c299b50b38e
- https://github.com/moodle/moodle
- http://git.moodle.org/gw?p=moodle.git;a=commit;h=bd654f0ced8af925c27b7c94321f0c299b50b38e
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.