CVEvulnerability
CVE-2012-6087
5.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2013-09-16
- Last modified
- 2026-06-16
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 5.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:N
- Weaknesses
- CWE-20
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.
Affected configurations
• moodle moodle (<= 2.2.11)
• 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
• moodle moodle 2.2.10
• moodle moodle 2.3.0
• moodle moodle 2.3.1
• moodle moodle 2.3.2
• moodle moodle 2.3.3
• moodle moodle 2.3.4
• moodle moodle 2.3.5
• moodle moodle 2.3.6
• moodle moodle 2.3.7
• moodle moodle 2.3.8
• moodle moodle 2.4.0
• moodle moodle 2.4.1
• moodle moodle 2.4.2
• moodle moodle 2.4.3
• moodle moodle 2.4.4
• moodle moodle 2.4.5
• moodle moodle 2.5.0
• moodle moodle 2.5.1
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40615 Patch
- http://www.openwall.com/lists/oss-security/2013/01/03/1 www.openwall.com
- https://moodle.org/mod/forum/discuss.php?d=238393 Patch, Vendor Advisory
- http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40615 Patch
- http://www.openwall.com/lists/oss-security/2013/01/03/1 www.openwall.com
- https://moodle.org/mod/forum/discuss.php?d=238393 Patch, Vendor Advisory