CVE-2012-6087

medium
Published 2013-09-16 ยท Modified 2026-04-29
CVSS v3
โ€”
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.8

Description

repository/s3/S3.php in the Amazon S3 library in Moodle through 2.2.11, 2.3.x before 2.3.9, 2.4.x before 2.4.6, and 2.5.x before 2.5.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate, related to an incorrect CURLOPT_SSL_VERIFYHOST value.

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.

Application impact

VendorProductVersionsFixed
moodlemoodle{"endIncluding":"2.2.11"}
moodlemoodle2.2.0
moodlemoodle2.2.1
moodlemoodle2.2.2
moodlemoodle2.2.3
moodlemoodle2.2.4
moodlemoodle2.2.5
moodlemoodle2.2.6
moodlemoodle2.2.7
moodlemoodle2.2.8
moodlemoodle2.2.9
moodlemoodle2.2.10
moodlemoodle2.3.0
moodlemoodle2.3.1
moodlemoodle2.3.2
moodlemoodle2.3.3
moodlemoodle2.3.4
moodlemoodle2.3.5
moodlemoodle2.3.6
moodlemoodle2.3.7
moodlemoodle2.3.8
moodlemoodle2.4.0
moodlemoodle2.4.1
moodlemoodle2.4.2
moodlemoodle2.4.3
moodlemoodle2.4.4
moodlemoodle2.4.5
moodlemoodle2.5.0
moodlemoodle2.5.1

References

CWEs

CWE-20

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.