CVE-2011-4280

medium
Published 2012-07-16 ยท Modified 2024-01-17
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
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 with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-35297 webapps php verified text ยท 1 KB
AutoSec Tools ยท 2011-02-01

Moodle 2.0.1 - 'PHPCOVERAGE_HOME' Cross-Site Scripting

text exploit Source: Exploit-DB
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

EcosystemPackageVulnerableFixed
php Packagistmoodle/moodle>=2.0,<2.0.22.0.2

Application impact

VendorProductVersionsFixed
moodlemoodle2.0.0
moodlemoodle2.0.1
nimish_pachapurkarspike_phpcoverage

References

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.