{ "schema_version": "1.4.0", "id": "GHSA-xhg2-vjrc-jqj8", "modified": "2022-05-13T01:12:51Z", "published": "2022-05-13T01:12:51Z", "aliases": [ "CVE-2012-6087" ], "details": "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.", "severity": [], "affected": [], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-6087" }, { "type": "WEB", "url": "https://moodle.org/mod/forum/discuss.php?d=238393" }, { "type": "WEB", "url": "http://git.moodle.org/gw?p=moodle.git&a=search&h=HEAD&st=commit&s=MDL-40615" }, { "type": "WEB", "url": "http://www.openwall.com/lists/oss-security/2013/01/03/1" } ], "database_specific": { "cwe_ids": [ "CWE-20" ], "severity": "MODERATE", "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2013-09-16T13:02:00Z" } }