CVE-2012-6087
Severity CVSS v4.0:
Pending analysis
Type:
CWE-20
Input Validation
Publication date:
16/09/2013
Last modified:
11/04/2025
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.
Impact
Base Score 2.0
5.80
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:moodle:moodle:*:*:*:*:*:*:*:* | 2.2.11 (including) | |
| cpe:2.3:a:moodle:moodle:2.2.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.2:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.3:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.4:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.5:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.6:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.7:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.8:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.9:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.2.10:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.3.0:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.3.1:*:*:*:*:*:*:* | ||
| cpe:2.3:a:moodle:moodle:2.3.2:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40615
- http://www.openwall.com/lists/oss-security/2013/01/03/1
- https://moodle.org/mod/forum/discuss.php?d=238393
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40615
- http://www.openwall.com/lists/oss-security/2013/01/03/1
- https://moodle.org/mod/forum/discuss.php?d=238393



