CVE-2012-6087

Moodle < 2.2.11, 2.3.x < 2.3.9, 2.4.x < 2.4.6, 2.5.x < 2.5.2 - SSL Certificate Hostname Validation Bypass

Title source: llm
STIX 2.1

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.

References (3)

Core 3
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2013/01/03/1
Patch, Vendor Advisory x_refsource_confirm
https://moodle.org/mod/forum/discuss.php?d=238393

Scores

EPSS 0.0015
EPSS Percentile 35.7%

Details

CWE
CWE-20
Status published
Products (29)
moodle/moodle 2.2.0
moodle/moodle 2.2.1
moodle/moodle 2.2.2
moodle/moodle 2.2.3
moodle/moodle 2.2.4
moodle/moodle 2.2.5
moodle/moodle 2.2.6
moodle/moodle 2.2.7
moodle/moodle 2.2.8
moodle/moodle 2.2.9
... and 19 more
Published Sep 16, 2013
Tracked Since Feb 18, 2026