{"id":"CVE-2012-6087","aliases":["EUVD-2012-5958","GHSA-xhg2-vjrc-jqj8","UBUNTU-CVE-2012-6087"],"status":"published","title":"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...","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.","severity":{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00601,"percentile":0.4903,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2013-09-16T10:00:00Z","modified":"2026-06-16T23:47:48Z","products":[{"vendor":"moodle","product":"moodle"}],"references":[{"url":"http://git.moodle.org/gw?p=moodle.git\u0026a=search\u0026h=HEAD\u0026st=commit\u0026s=MDL-40615","tags":["x_refsource_CONFIRM","x_transferred","Patch"]},{"url":"http://www.openwall.com/lists/oss-security/2013/01/03/1","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://moodle.org/mod/forum/discuss.php?d=238393","tags":["x_refsource_CONFIRM","x_transferred","Patch","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-6087"},{"url":"https://github.com/advisories/GHSA-xhg2-vjrc-jqj8"},{"url":"https://ubuntu.com/security/CVE-2012-6087","tags":["report"]},{"url":"https://github.com/tpyo/amazon-s3-php-class/pull/36","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-6087","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2012-6087","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.","status":"published","published":"2013-09-16T10:00:00Z","modified":"2024-08-06T21:21:28.519Z","updated_at":"2026-11-02T14:34:50.94153Z"}],"euvd":[{"id":"EUVD-2012-5958","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.","status":"published","published":"2013-09-16T10:00:00Z","modified":"2024-08-06T21:21:28Z","updated_at":"2026-11-03T01:56:02.968969Z"}],"ghsa":[{"id":"GHSA-xhg2-vjrc-jqj8","title":"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...","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.","status":"published","published":"2022-05-13T01:12:51Z","modified":"2023-02-01T05:03:54Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:50:06.799159Z"}],"nvd":[{"id":"CVE-2012-6087","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.","status":"published","published":"2013-09-16T13:02:48.05Z","modified":"2026-06-16T23:47:48.08Z","cvss":[{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:17.375282Z"}],"osv":[{"id":"UBUNTU-CVE-2012-6087","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.","status":"withdrawn","published":"2013-09-16T13:02:00Z","modified":"2025-07-16T07:31:03.999519Z","updated_at":"2026-11-02T15:54:06.854805Z"}]}}
